# HG changeset patch # User Gerald Klix (speedy) # Date 1565120193 -7200 # Tue Aug 06 21:36:33 2019 +0200 # Branch Rel0.2.4 # Node ID e431aa3757d650d7ca3e898c407c515349d5a6f7 # Parent 20582bc1c930a5c5ea0fc5c8d102b40f71c589b5 SUM: Some fixes in the setup script. diff --git a/docs/acknowledgements.rst b/docs/acknowledgements.rst --- a/docs/acknowledgements.rst +++ b/docs/acknowledgements.rst @@ -1,9 +1,12 @@ Acknowledgements ================ + Guido van Rossum created the core of this package. I just renamed some things and added some^H^H^H^H oodles of convenience stuff. Thank you Guido! + Copyright ========= + © 2006-2013 Python Software Foundation. © 2013-2018 Gerald Klix. diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -14,6 +14,7 @@ with open("docs/overview.rst") as readme_file: long_description = (long_description_header + "\n" + readme_file.read()) + long_description += "\n" with open("docs/acknowledgements.rst") as readme_file: long_description += readme_file.read() long_description = long_description.replace(":class:", "").replace( @@ -21,14 +22,16 @@ except IOError: long_description = None -print(long_description) +for lineno, line in enumerate(long_description.split('\n')): + print('%03d' % (lineno + 1), line) #D: sys.path.insert(0, "tests") setup(name="gf3", version='0.2.4', description="A package with lisp-like generic functions for python 3.", - long_description = long_description, + long_description=long_description, + long_description_content_type='text/x-rst', keywords="generic-function multi-method", classifiers=[ "Development Status :: 5 - Production/Stable",