Default repository for execsql.py
Revision | 6579514df492f5b2698e0dc61c2358a391a6264c (tree) |
---|---|
Time | 2020-07-30 08:28:07 |
Author | Dreas Nielsen <dreas.nielsen@gmai...> |
Commiter | Dreas Nielsen |
Added system variable.
@@ -27,12 +27,12 @@ | ||
27 | 27 | # |
28 | 28 | # =============================================================================== |
29 | 29 | |
30 | -__version__ = "1.76.1" | |
31 | -__vdate = "2020-07-23" | |
30 | +__version__ = "1.77.0" | |
31 | +__vdate = "2020-07-29" | |
32 | 32 | |
33 | 33 | primary_vno = 1 |
34 | -secondary_vno = 76 | |
35 | -tertiary_vno = 1 | |
34 | +secondary_vno = 77 | |
35 | +tertiary_vno = 0 | |
36 | 36 | |
37 | 37 | import os |
38 | 38 | import os.path |
@@ -13093,6 +13093,7 @@ | ||
13093 | 13093 | sys.exit(u'SQL script file "%s" does not exist.' % script_name) |
13094 | 13094 | subvars.add_substitution("$STARTING_SCRIPT", script_name) |
13095 | 13095 | subvars.add_substitution("$STARTING_SCRIPT_NAME", os.path.basename(script_name)) |
13096 | + subvars.add_substitution("$STARTING_SCRIPT_REVTIME", file_size_date(os.path.basename(script_name))[1]) | |
13096 | 13097 | # Read configuration data |
13097 | 13098 | global conf |
13098 | 13099 | conf = ConfigData(os.path.dirname(os.path.abspath(script_name)), subvars) |
@@ -4,7 +4,7 @@ | ||
4 | 4 | long_description = f.read() |
5 | 5 | |
6 | 6 | setuptools.setup(name='execsql', |
7 | - version='1.76.1', | |
7 | + version='1.77.0', | |
8 | 8 | description="Runs a SQL script against a PostgreSQL, MS-Access, SQLite, MS-SQL-Server, MySQL, MariaDB, Firebird, or Oracle database, or an ODBC DSN. Provides metacommands to import and export data, copy data between databases, conditionally execute SQL and metacommands, and dynamically alter SQL and metacommands with substitution variables. Data can be exported in 18 different formats, including CSV, TSV, ODS, HTML, JSON, LaTeX, and Markdown tables, and using custom templates.", |
9 | 9 | author='Dreas Nielsen', |
10 | 10 | author_email='dreas.nielsen@gmail.com', |