-
Notifications
You must be signed in to change notification settings - Fork 20
/
setup.py
47 lines (44 loc) · 1.35 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
from fahrplan import meta
f = open('requirements.txt', 'r')
lines = f.readlines()
requirements = [
line.strip().strip('\n') for line in lines
if line.strip() and not line.strip().startswith('#')
]
readme = open('README.rst').read()
setup(name='fahrplan',
version=meta.version,
description=meta.description,
author=meta.author,
author_email=meta.author_email,
url=meta.url,
packages=['fahrplan'],
zip_safe=False,
include_package_data=True,
license=meta.license,
keywords=meta.keywords,
long_description=readme,
install_requires=requirements,
entry_points={
'console_scripts': [
'%s = fahrplan.main:main' % meta.title,
]
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Natural Language :: English',
'Natural Language :: German',
'Natural Language :: French',
'Natural Language :: Italian',
'Operating System :: MacOS',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3',
'Topic :: Internet',
'Topic :: Terminals',
],
)