forked from OpenTransitTools/gtfsdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (44 loc) · 1.41 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
from setuptools import setup, find_packages
import sys
oracle_extras = ['cx_oracle>=5.1']
postgresql_extras = ['psycopg2>=2.4.2']
dev_extras = oracle_extras + postgresql_extras
extras_require = dict(
dev=dev_extras,
oracle=oracle_extras,
postgresql=postgresql_extras,
)
install_requires = ['geoalchemy2>=0.2.4', 'sqlalchemy>=0.9']
if sys.version_info[:2] <= (2, 6):
install_requires.append('argparse>=1.2.1')
extras_require['dev'].append('unittest2')
setup(
name='gtfsdb',
version='0.1.6dev',
description='GTFS Database',
long_description=open('README').read(),
keywords='GTFS',
author='Mike Gilligan',
author_email='[email protected]',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
extras_require=extras_require,
entry_points={
'console_scripts': [
'gtfsdb-load = gtfsdb.scripts:gtfsdb_load',
'rs-test = gtfsdb.scripts:route_stop_load',
'connect-tester = gtfsdb.scripts:db_connect_tester'
]
},
classifiers=(
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Natural Language :: English',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
),
)