-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
43 lines (38 loc) · 1.3 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
import os.path
# Install setuptools if not installed.
try:
import setuptools
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
# read README as the long description
readme = 'README' if os.path.exists('README') else 'README.md'
with open(readme, 'r') as f:
long_description = f.read()
setup(
name='spandex',
version='0.1dev',
description='Spatial Analysis and Data Extraction',
long_description=long_description,
author='UrbanSim Inc.',
author_email='[email protected]',
url='https://github.com/udst/spandex',
classifiers=[
'Development Status :: 4 - Beta',
'Programming Language :: Python :: 2.7',
],
packages=find_packages(exclude=['*.tests']),
install_requires=[
'GeoAlchemy2>=0.2.1', # Bug fix for schemas other than public.
'pandas>=0.17.0', # pandas.Index.difference.
'psycopg2>=2.5', # connection and cursor context managers.
'six>=1.4', # Mapping for urllib.
'SQLAlchemy==0.9.9' # GeoAlchemy2 support.
],
extras_require={
'gdal': ['GDAL>=1.7'], # Python 3 support.
'plot': ['pygraphviz'],
'sim': ['urbansim>=1.3'], # TableFrame support and sim.table caching.
}
)