forked from geoalchemy/geoalchemy2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
54 lines (44 loc) · 1.36 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
import sys
from setuptools import setup, find_packages
version = '0.2.1'
install_requires = [
'SQLAlchemy>=0.8'
]
setup_requires = [
'nose'
]
tests_require = install_requires + [
'psycopg2'
]
if sys.version_info[0] == 2:
# Shapely is only compatible with Python 2.x
tests_require.append('shapely')
setup(name='GeoAlchemy2',
version=version,
description="Using SQLAlchemy with Spatial Databases",
long_description=open('README.rst').read(),
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Plugins",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: MIT License",
"Topic :: Scientific/Engineering :: GIS"
],
keywords='geo gis sqlalchemy orm',
author='Eric Lemoine',
author_email='eric.lemoine@gmail.com',
url='http://geoalchemy.org/',
license='MIT',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests', "doc"]),
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
setup_requires=setup_requires,
tests_require=tests_require,
test_suite="geoalchemy2.tests",
entry_points="""
# -*- Entry points: -*-
""",
)