setup.py 697 Bytes
Newer Older
jens.kleineheismann's avatar
jens.kleineheismann committed
1
2
3
4
#!/usr/bin/env python

from setuptools import setup, find_packages

jens.kleineheismann's avatar
jens.kleineheismann committed
5
6
7
8
9
def package_meta(param):
    v = '__' + param + '__'
    m = __import__('kitgvapi')
    return getattr(m, v)
        
jens.kleineheismann's avatar
jens.kleineheismann committed
10
11
12
13
14
15
def readme():
    with open('README.rst') as f:
        return f.read()

setup(
    name='python-kitgvapi',
jens.kleineheismann's avatar
jens.kleineheismann committed
16
17
    version=package_meta('version'),
    description=package_meta('doc').split('\n')[1],
jens.kleineheismann's avatar
jens.kleineheismann committed
18
    long_description=readme(),
jens.kleineheismann's avatar
jens.kleineheismann committed
19
20
21
    author=package_meta('author'),
    author_email=package_meta('email'),
    license=package_meta('license'),
22
    url='https://git.scc.kit.edu/zy8373/python-kitgvapi',
jens.kleineheismann's avatar
jens.kleineheismann committed
23
24
25
26
27
28
    packages=find_packages(),
    include_package_data=True,
    install_requires=[
        'requests',
    ],
)