-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
36 lines (29 loc) · 954 Bytes
/
setup.py
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
36
from setuptools import setup
pkg = __import__('fachschaftsempfaenger')
author = pkg.__author__
email = pkg.__author_email__
version = pkg.__version__
classifiers = pkg.__classifiers__
description = pkg.__description__
def load_requirements(fn):
"""Read a requirements file and create a list that can be used in setup."""
with open(fn, 'r') as f:
return [x.rstrip() for x in list(f) if x and not x.startswith('#')]
setup(
name='fachschaftsempfaenger',
version=version,
license='MIT',
description=description,
long_description=open('README.rst').read(),
author=author,
author_email=email,
url='https://github.com/fsi-tue/fachschaftsempfaenger',
classifiers=classifiers,
platforms='Linux',
packages=['fachschaftsempfaenger'],
install_requires=load_requirements('requirements.txt'),
extras_require={
'docs': [
'sphinx >= 1.4',
'sphinx_rtd_theme']}
)