Default repository for execsql.py
Révision | 2e6cc3702a25a565d44aa428b7334dde90364cbb (tree) |
---|---|
l'heure | 2019-12-24 05:50:28 |
Auteur | Dreas Nielsen <dnielsen@inte...> |
Commiter | Dreas Nielsen |
Added a default wrap width for the label in the DisplayUI, to force wrapping with the HALT metacommand.
@@ -27,12 +27,12 @@ | ||
27 | 27 | # |
28 | 28 | # =============================================================================== |
29 | 29 | |
30 | -__version__ = "1.54.1" | |
30 | +__version__ = "1.54.2" | |
31 | 31 | __vdate = "2019-12-22" |
32 | 32 | |
33 | 33 | primary_vno = 1 |
34 | 34 | secondary_vno = 54 |
35 | -tertiary_vno = 1 | |
35 | +tertiary_vno = 2 | |
36 | 36 | |
37 | 37 | import os |
38 | 38 | import os.path |
@@ -6041,7 +6041,7 @@ | ||
6041 | 6041 | self.msg_label.configure(wraplength=event.width - 5) |
6042 | 6042 | # Message frame and control. |
6043 | 6043 | msgframe = ttk.Frame(master=self.win, padding="3 3 3 3") |
6044 | - self.msg_label = ttk.Label(msgframe, text=message) | |
6044 | + self.msg_label = ttk.Label(msgframe, text=message, wraplength=400) | |
6045 | 6045 | self.msg_label.bind("<Configure>", wrap_msg) |
6046 | 6046 | self.msg_label.grid(column=0, row=0, sticky=tk.EW) |
6047 | 6047 | msgframe.columnconfigure(0, weight=1) |
@@ -4,7 +4,7 @@ | ||
4 | 4 | long_description = f.read() |
5 | 5 | |
6 | 6 | setuptools.setup(name='execsql', |
7 | - version='1.54.1', | |
7 | + version='1.54.2', | |
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 13 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', |