diff --git a/README b/README index 4a75614b7611c4b8c041135672006127d1737c3b..588fc356591532453b7521936b82eae76a6a8cc0 100644 --- a/README +++ b/README @@ -141,6 +141,13 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Change history -------------- +Version 2.23c (10/05/2016) + +- Added entry_points to setup.py so that distutils will generate + executable scripts for executable .py files (for example, + generateDS.py and process_includes.py). Thanks to Michael Jenny + for suggesting this and for showing the way to do it. + Version 2.23b (09/26/2016) - Added missing unit test files to build (MANIFEST.in). diff --git a/generateDS.html b/generateDS.html index 0f81b96c37c9a06d4b122ef44fe0ee8ff452a75a..02e5c5f1dfea589c6319d65763f99bb332f63fdc 100644 --- a/generateDS.html +++ b/generateDS.html @@ -220,7 +220,7 @@ They are used by updateversion.py. --> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> -<tr class="field"><th class="field-name">revision:</th><td class="field-body">2.23b</td> +<tr class="field"><th class="field-name">revision:</th><td class="field-body">2.23c</td> </tr> </tbody> </table> @@ -229,7 +229,7 @@ They are used by updateversion.py. --> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> -<tr class="field"><th class="field-name">date:</th><td class="field-body">September 18, 2016</td> +<tr class="field"><th class="field-name">date:</th><td class="field-body">October 05, 2016</td> </tr> </tbody> </table> @@ -3180,7 +3180,7 @@ following among others:</p> <div class="footer"> <hr class="footer" /> <a class="reference external" href="generateDS.txt">View document source</a>. -Generated on: 2016-09-18 21:16 UTC. +Generated on: 2016-10-05 22:04 UTC. Generated by <a class="reference external" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source. </div> diff --git a/generateDS.py b/generateDS.py index 06592a9e34156f7f6c949d8a6d4f81f593012a35..03b167975ad6adcfb401cfe7147cd9f2e27306d0 100755 --- a/generateDS.py +++ b/generateDS.py @@ -204,7 +204,7 @@ logging.disable(logging.INFO) # Do not modify the following VERSION comments. # Used by updateversion.py. ##VERSION## -VERSION = '2.23b' +VERSION = '2.23c' ##VERSION## if sys.version_info.major == 2: diff --git a/generateDS.txt b/generateDS.txt index 038644cd4d915c39f5cc3c871fa9be52dad34027..4169ac8ab46af86a313da4a95b4f64f67cc2897b 100644 --- a/generateDS.txt +++ b/generateDS.txt @@ -12,7 +12,7 @@ generateDS -- Generate Data Structures from XML Schema .. version -:revision: 2.23b +:revision: 2.23c .. version diff --git a/generateds_gui_notes.html b/generateds_gui_notes.html index 093afafed7a72ea86e8e98c72e6cf86d3346f111..c40dc24e0206114ad8c79f3bdb3157aba69b49e8 100644 --- a/generateds_gui_notes.html +++ b/generateds_gui_notes.html @@ -220,7 +220,7 @@ They are used by updateversion.py. --> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> -<tr class="field"><th class="field-name">revision:</th><td class="field-body">2.23b</td> +<tr class="field"><th class="field-name">revision:</th><td class="field-body">2.23c</td> </tr> </tbody> </table> @@ -229,7 +229,7 @@ They are used by updateversion.py. --> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> -<tr class="field"><th class="field-name">date:</th><td class="field-body">September 18, 2016</td> +<tr class="field"><th class="field-name">date:</th><td class="field-body">October 05, 2016</td> </tr> </tbody> </table> @@ -401,7 +401,7 @@ $ mv generateds_gui.mo locale/ru/LC_MESSAGES/ <div class="footer"> <hr class="footer" /> <a class="reference external" href="generateds_gui_notes.txt">View document source</a>. -Generated on: 2016-09-18 21:16 UTC. +Generated on: 2016-10-05 22:04 UTC. Generated by <a class="reference external" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source. </div> diff --git a/generateds_gui_notes.txt b/generateds_gui_notes.txt index 4657f6bdb8c880f8422d9cd8deb3906ef0baddcf..1c11460a20f50bac1793eae2bda0effa593a03ca 100644 --- a/generateds_gui_notes.txt +++ b/generateds_gui_notes.txt @@ -12,7 +12,7 @@ GenerateDS GUI Notes .. version -:revision: 2.23b +:revision: 2.23c .. version diff --git a/gui/generateds_gui.py b/gui/generateds_gui.py index 719c34218aa6e4f98e9f6e55f18be43ed54ed753..64b8c7c45e3f12a10f2acc800f8f3d128b35b46b 100755 --- a/gui/generateds_gui.py +++ b/gui/generateds_gui.py @@ -41,7 +41,7 @@ from libgenerateDS.gui import generateds_gui_session # Do not modify the following VERSION comments. # Used by updateversion.py. ##VERSION## -VERSION = '2.23b' +VERSION = '2.23c' ##VERSION## diff --git a/librarytemplate_howto.html b/librarytemplate_howto.html index fc866fbad64914ddbcec37941cdcd0a54b4a20bb..0316f0f9ca062cbbd4855fa5c4d0e579c8b8e7df 100644 --- a/librarytemplate_howto.html +++ b/librarytemplate_howto.html @@ -217,7 +217,7 @@ dkuhlman (at) davekuhlman (dot) org <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> -<tr class="field"><th class="field-name">revision:</th><td class="field-body">2.23b</td> +<tr class="field"><th class="field-name">revision:</th><td class="field-body">2.23c</td> </tr> </tbody> </table> @@ -226,7 +226,7 @@ dkuhlman (at) davekuhlman (dot) org <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> -<tr class="field"><th class="field-name">date:</th><td class="field-body">September 18, 2016</td> +<tr class="field"><th class="field-name">date:</th><td class="field-body">October 05, 2016</td> </tr> </tbody> </table> @@ -380,7 +380,7 @@ this command for your needs. For example, you may need to use <div class="footer"> <hr class="footer" /> <a class="reference external" href="librarytemplate_howto.txt">View document source</a>. -Generated on: 2016-09-18 21:16 UTC. +Generated on: 2016-10-05 22:04 UTC. Generated by <a class="reference external" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source. </div> diff --git a/librarytemplate_howto.txt b/librarytemplate_howto.txt index ece626647a5702e47ba7f606c3ef132ad24273f0..61fa8f85f6d2f1470ab70dc6406e68aef08b10b2 100644 --- a/librarytemplate_howto.txt +++ b/librarytemplate_howto.txt @@ -8,7 +8,7 @@ How to package a generateDS.py generated library .. version -:revision: 2.23b +:revision: 2.23c .. version diff --git a/process_includes.py b/process_includes.py index be1da8d8aa44ae8ac99810cbf9229370ab93bae7..ec67d80a0c5f9b501d10302cc8fc70ea09fdfa34 100755 --- a/process_includes.py +++ b/process_includes.py @@ -40,7 +40,7 @@ except ImportError: # Do not modify the following VERSION comments. # Used by updateversion.py. ##VERSION## -VERSION = '2.23b' +VERSION = '2.23c' ##VERSION## CatalogDict = {} diff --git a/setup.py b/setup.py index 8a5f0b87295eb4616d894181fc4fef714b722446..8866826e926f701d15991b779f692b9bf36d091c 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup(name="generateDS", # Do not modify the following VERSION comments. # Used by updateversion.py. ##VERSION## - version="2.23b", + version="2.23c", ##VERSION## author="Dave Kuhlman", author_email="dkuhlman@davekuhlman.org", @@ -48,5 +48,15 @@ XML document.""", "django/gends_extract_simple_types.py", "django/gends_generate_django.py", ], + entry_points = { + "console_scripts": [ + "generateDS = generateDS:main", + "process_includes = process_includes:main", + "generateds_gui = generateds_gui:main", + "gends_run_gen_django = gends_run_gen_django:main", + "gends_extract_simple_types = gends_extract_simple_types:main", + "gends_generate_django = gends_generate_django:main", + ], + } ) diff --git a/tutorial/generateds_tutorial.html b/tutorial/generateds_tutorial.html index d334cc5e1e73cbd76e4db7434eaced58bc6d5f3a..c670d2f5e26716e98e398dfbc909d218676a6ceb 100644 --- a/tutorial/generateds_tutorial.html +++ b/tutorial/generateds_tutorial.html @@ -219,7 +219,7 @@ They are used by updateversion.py. --> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> -<tr class="field"><th class="field-name">revision:</th><td class="field-body">2.23b</td> +<tr class="field"><th class="field-name">revision:</th><td class="field-body">2.23c</td> </tr> </tbody> </table> @@ -228,7 +228,7 @@ They are used by updateversion.py. --> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> -<tr class="field"><th class="field-name">date:</th><td class="field-body">September 18, 2016</td> +<tr class="field"><th class="field-name">date:</th><td class="field-body">October 05, 2016</td> </tr> </tbody> </table> @@ -1210,7 +1210,7 @@ named <tt class="docutils literal">garden_api.py</tt>, you can create an instanc <div class="footer"> <hr class="footer" /> <a class="reference external" href="generateds_tutorial.txt">View document source</a>. -Generated on: 2016-09-18 21:16 UTC. +Generated on: 2016-10-05 22:04 UTC. Generated by <a class="reference external" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source. </div> diff --git a/tutorial/generateds_tutorial.txt b/tutorial/generateds_tutorial.txt index b29a4b5b18d92592b0d1e955d3e37c4f56b2f66d..7c71690bdbb55c89957ceafa6ba54dbcc0347960 100644 --- a/tutorial/generateds_tutorial.txt +++ b/tutorial/generateds_tutorial.txt @@ -11,7 +11,7 @@ generateDS -- Introduction and Tutorial .. version -:revision: 2.23b +:revision: 2.23c .. version diff --git a/tutorial/generateds_tutorial.zip b/tutorial/generateds_tutorial.zip index 2689b1254460869a9a4730b51de2873493f43129..0de1a5fda9d7ac479263d841bcba488ffbb32107 100644 Binary files a/tutorial/generateds_tutorial.zip and b/tutorial/generateds_tutorial.zip differ