e431aa3757d6 — Gerald Klix (speedy) 3 years ago
SUM: Some fixes in the setup script.
2 files changed, 8 insertions(+), 2 deletions(-)

M docs/acknowledgements.rst
M setup.py
M docs/acknowledgements.rst +3 -0
@@ 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.

          
M setup.py +5 -2
@@ 14,6 14,7 @@ try:
     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 @@ try:
 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",