summaryrefslogtreecommitdiff
path: root/ebus-datastore/setup.py
diff options
context:
space:
mode:
authorEbus-at-dockstar <ebus@dockstar>2014-07-25 22:13:55 +0200
committerEbus-at-dockstar <ebus@dockstar>2014-07-25 22:13:55 +0200
commitf6675ccdd7a5997def3c4656f0e2c5dbbbed1fc8 (patch)
tree893a37289de684b95a6184c528e5c9c8547e7197 /ebus-datastore/setup.py
parentcfb0c10631bbbd31b525e7992b59de06d3c2e550 (diff)
downloadebus-alt-f6675ccdd7a5997def3c4656f0e2c5dbbbed1fc8.tar.gz
ebus-alt-f6675ccdd7a5997def3c4656f0e2c5dbbbed1fc8.zip
embed xexpr-path
Diffstat (limited to 'ebus-datastore/setup.py')
-rw-r--r--ebus-datastore/setup.py35
1 files changed, 35 insertions, 0 deletions
diff --git a/ebus-datastore/setup.py b/ebus-datastore/setup.py
new file mode 100644
index 0000000..e755919
--- /dev/null
+++ b/ebus-datastore/setup.py
@@ -0,0 +1,35 @@
+#!/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 Library',
+ author='xapek.org',
+ author_email='ebus@xapek.org',
+ url='http://xapek.org',
+ scripts=[
+ "ebus_web.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",
+ ],
+ )
+