diff options
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 25 |
1 files changed, 11 insertions, 14 deletions
@@ -1,16 +1,11 @@ #!/usr/bin/env python +import subprocess +from setuptools import setup, find_packages -version='0.2' -try: - import pysvn - from pysvn import Client - import os - extra = Client().info(os.path.dirname(__file__)).revision.number - version = "%s-r%s" % (version,extra) -except: - pass -from setuptools import setup, find_packages +version = subprocess.Popen(["git", "describe", "--tags", "--long"],stdout=subprocess.PIPE).communicate()[0].strip() +assert len(version) > 3 + setup( name='ebus', @@ -20,9 +15,10 @@ setup( author_email='ebus@xapek.org', url='http://xapek.org', scripts=[ - "bin/ebus_dump". - "bin/ebus_app", - "bin/ebus_web", + "bin/ebus_dump.py", + "bin/ebus_app.py", + "bin/web_prod.py", + "bin/web_dev.py", ], packages=find_packages(), package_data={'doc':['*.txt'], 'xml':['*.xml']}, @@ -34,8 +30,9 @@ setup( "Intended Audience :: Developers", ], requires=[ - "itty==0.6.7", + "bottle", "SQLAlchemy", + "psycopg2", ], ) |