-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
69 lines (58 loc) · 1.92 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
import os
from setuptools import setup, find_packages
def file_content(filename):
'''Load file content'''
with open(filename) as ifile:
return ifile.read()
def pip(filename):
"""Return path to pip requirements file"""
return file_content(os.path.join('requirements', filename))
long_description = '\n'.join((
file_content('README.md'),
file_content('CHANGELOG.md'),
''
))
install_requires = pip('install.pip')
tests_require = pip('test.pip')
setup(
name='udata-transport',
version=__import__('udata_transport').__version__,
description=__import__('udata_transport').__description__,
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/opendatateam/udata-transport',
author='Opendata Team',
author_email='[email protected]',
packages=find_packages(),
include_package_data=True,
python_requires='>=3.7',
install_requires=install_requires,
tests_require=tests_require,
extras_require={
'test': tests_require,
},
entry_points={
'udata.views': [
'transport = udata_transport.views',
],
'udata.tasks': [
'transport = udata_transport.tasks',
],
},
license='GNU AGPLv3+',
keywords='udata transport',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python',
'Environment :: Web Environment',
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'Topic :: System :: Software Distribution',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Topic :: Software Development :: Libraries :: Python Modules',
('License :: OSI Approved :: GNU Affero General Public License v3'
' or later (AGPLv3+)'),
],
)