forked from OpenTransitTools/gtfsdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed routestops ... needed a reverse sort; added test/debug script f…
…or routestops
- Loading branch information
Showing
4 changed files
with
62 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,4 @@ def database_load(filename, **kwargs): | |
gtfs = GTFS(filename) | ||
gtfs.load(db, **kwargs) | ||
return db | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,45 @@ | ||
from setuptools import setup, find_packages | ||
import sys | ||
|
||
|
||
extras_require = dict( | ||
dev=[], | ||
geo=['geoalchemy>=0.7.2'], | ||
oracle=['cx_oracle>=5.1'], | ||
postgresql=['psycopg2>=2.4.2'], | ||
) | ||
|
||
install_requires = ['sqlalchemy == 0.8.6', ] | ||
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'] | ||
}, | ||
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', | ||
), | ||
) | ||
from setuptools import setup, find_packages | ||
import sys | ||
|
||
|
||
extras_require = dict( | ||
dev=[], | ||
geo=['geoalchemy>=0.7.2'], | ||
oracle=['cx_oracle>=5.1'], | ||
postgresql=['psycopg2>=2.4.2'], | ||
) | ||
|
||
install_requires = ['sqlalchemy == 0.8.6', ] | ||
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' | ||
] | ||
}, | ||
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', | ||
), | ||
) |