-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up requirements: remove dependencies on Shapely, and make
setup.py fail if not Python 3.x.
- Loading branch information
1 parent
e6599da
commit 41d2058
Showing
2 changed files
with
15 additions
and
11 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
libhxl>=1.1 | ||
ckapi | ||
flask | ||
flask-cache | ||
libhxl>=2.6 | ||
ckapi>=3.5 | ||
flask>=0.10 | ||
flask-cache>=0.13 |
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,21 +1,25 @@ | ||
#!/usr/bin/python | ||
"""Install, build, or test the HXL Proxy. | ||
For details, try | ||
python setup.py -h | ||
""" | ||
|
||
from setuptools import setup | ||
dependency_links=[ | ||
'git+https://github.com/Toblerity/Shapely.git@maint#egg=Shapely', | ||
] | ||
import sys, setuptools | ||
|
||
setup( | ||
if sys.version_info.major != 3: | ||
raise SystemExit("The HXL Proxy requires Python 3.x") | ||
|
||
setuptools.setup( | ||
name = 'hxl-proxy', | ||
packages = ['hxl_proxy'], | ||
version = '0.3', | ||
version = '0.4', | ||
description = 'Flask-based web proxy for HXL', | ||
author='David Megginson', | ||
author_email='contact@megginson.com', | ||
url='https://github.com/HXLStandard/hxl-proxy', | ||
include_package_data = True, | ||
zip_safe = False, | ||
install_requires=['flask-cache', 'libhxl>=1.1', 'ckanapi', 'flask', 'psycopg2'], | ||
install_requires=['flask-cache>=0.13', 'libhxl>=2.6', 'ckanapi>=3.5', 'flask>=0.10'], | ||
test_suite = "tests", | ||
tests_require = ['mock'] | ||
) |