From cbbc42fb78dbb09814474faa4badc07ca17879ed Mon Sep 17 00:00:00 2001 From: Jorgen Schaefer Date: Tue, 30 Oct 2012 12:38:45 +0100 Subject: setup: More complete list of fields. --- setup.py | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 5773188..c436dbf 100755 --- a/setup.py +++ b/setup.py @@ -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", ) -- cgit v1.2.3