From: Oleg Broytman Date: Sat, 3 Sep 2016 20:22:58 +0000 (+0300) Subject: Rename mysql-to-sql.py -> mysql2py X-Git-Tag: 0.0.2~2 X-Git-Url: https://git.phdru.name/?p=sqlconvert.git;a=commitdiff_plain;h=06c8b16824855cf8fa4a92abc1eb0b8580079124 Rename mysql-to-sql.py -> mysql2py --- diff --git a/docs/index.rst b/docs/index.rst index 927bddc..8b73c1a 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -20,12 +20,12 @@ The program is in its initial phase and currently cannot do much. Command line ------------ -mysql-to-sql.py -~~~~~~~~~~~~~~~ +mysql2sql +~~~~~~~~~ Usage:: - mysql-to-sql.py [-e encoding] [-E output_encoding] [infile] [[-o] outfile] + mysql2sql [-e encoding] [-E output_encoding] [infile] [[-o] outfile] Options:: @@ -41,13 +41,13 @@ Options:: Option `-o` is useful when infile is absent (input is redirected), for example:: - mysql-to-sql.py -o outfile.sql < infile.sql - cat infile.sql | mysql-to-sql.py -o outfile.sql + mysql2sql -o outfile.sql < infile.sql + cat infile.sql | mysql2sql -o outfile.sql But of course it simply can be:: - mysql-to-sql.py - outfile.sql < infile.sql - cat infile.sql | mysql-to-sql.py - outfile.sql + mysql2sql - outfile.sql < infile.sql + cat infile.sql | mysql2sql - outfile.sql Indices and tables diff --git a/scripts/mysql-to-sql.py b/scripts/mysql2sql similarity index 100% rename from scripts/mysql-to-sql.py rename to scripts/mysql2sql diff --git a/setup.py b/setup.py index cc3fe73..b71c267 100755 --- a/setup.py +++ b/setup.py @@ -44,6 +44,6 @@ setup(name='mysql2sql', ], packages=['mysql2sql'], package_data={}, - scripts=['scripts/mysql-to-sql.py'], + scripts=['scripts/mysql2sql'], requires=['sqlparse', 'm_lib'], )