#!/usr/bin/env python import subprocess 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', version=version, description='Ebus over TCP Library', author='xapek.org', author_email='ebus@xapek.org', url='http://xapek.org', scripts=[ "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']}, include_package_data = True, long_description="""ebus library""", classifiers=[ "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules", "Intended Audience :: Developers", ], requires=[ "bottle", "SQLAlchemy", "psycopg2", ], )