Commit bc3dc7ab authored by Daniel Bacher's avatar Daniel Bacher

remove import of kitgvapi bevor requests is installed

parent 26b70d67
...@@ -2,23 +2,17 @@ ...@@ -2,23 +2,17 @@
from setuptools import setup, find_packages from setuptools import setup, find_packages
def package_meta(param):
v = '__' + param + '__'
m = __import__('kitgvapi')
return getattr(m, v)
def readme(): def readme():
with open('README.rst') as f: with open('README.rst') as f:
return f.read() return f.read()
setup( setup(
name='python-kitgvapi', name='python-kitgvapi',
version=package_meta('version'), version='1.3.1',
description=package_meta('doc').split('\n')[1],
long_description=readme(), long_description=readme(),
author=package_meta('author'), author='Jens Kleineheismann',
author_email=package_meta('email'), author_email='kleineheismann@kit.edu',
license=package_meta('license'), license='',
url='https://git.scc.kit.edu/zy8373/python-kitgvapi', url='https://git.scc.kit.edu/zy8373/python-kitgvapi',
packages=find_packages(), packages=find_packages(),
include_package_data=True, include_package_data=True,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment