summaryrefslogtreecommitdiff
path: root/ebus-datastore/setup.py
blob: e7559199daa4dd84dfdb9c452596d267eb955bd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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",
        ],
    )