summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorgen Schaefer <forcer@forcix.cx>2012-10-30 12:38:45 +0100
committerJorgen Schaefer <forcer@forcix.cx>2012-10-30 12:38:45 +0100
commitcbbc42fb78dbb09814474faa4badc07ca17879ed (patch)
tree4b4194d8f30ecb56d778a02e98e5b2292117d791
parent70d0ad532dd7e8bfa3e3583f2b4ea3a98f40af02 (diff)
setup: More complete list of fields.
-rwxr-xr-xsetup.py15
1 files 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",
)