-
Notifications
You must be signed in to change notification settings - Fork 25
/
setup.py
56 lines (48 loc) · 1.33 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
#!/usr/bin/env python
"""The setup script."""
from setuptools import find_packages, setup
with open('README.rst') as readme_file:
readme = readme_file.read()
# About dict to store version and package info
about = dict()
with open('peartree/__version__.py', 'r', encoding='utf-8') as f:
exec(f.read(), about)
requirements = [
'fiona>=1.6.1',
'geopandas>=0.4.0',
'networkx>=2.0',
'numpy>=1.18.4',
'pandas>=1.0.3',
'partridge>=1.0.0'
]
setup_requirements = [
'pytest-runner',
]
test_requirements = [
'pytest',
]
setup(
name='peartree',
version=about['__version__'],
description=('peartree is a library for '
'converting GTFS to directed graphs.'),
long_description=readme,
author='Kuan Butts',
author_email='kuanbutts@gmail.com',
url='https://github.com/kuanb/peartree',
packages=find_packages(include=['peartree']),
include_package_data=True,
install_requires=requirements,
license='MIT license',
zip_safe=False,
keywords='peartree',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3.6',
],
test_suite='tests',
tests_require=test_requirements,
setup_requires=setup_requirements,
)