diff options
-rwxr-xr-x | setup.py | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -1,16 +1,27 @@ #!/usr/bin/env python +import os import shutil from distutils.core import setup -shutil.copy("README.md", "README.txt") +if not os.path.exists("README.txt"): + shutil.copy("README.md", "README.txt") setup(name='gnucashxml', version='1.0', description="Parse GNU Cash XML files", + long_description=open("README.md").read(), author="Jorgen Schaefer", author_email="forcer@forcix.cx", url="https://github.com/jorgenschaefer/gnucashxml", - py_modules=['gnucashxml'] + py_modules=['gnucashxml'], + classifiers=[ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + ("License :: OSI Approved :: " + "GNU General Public License v3 or later (GPLv3+)"), + "Topic :: Office/Business :: Financial :: Accounting", + ], + license="GPL", ) |