-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathsetup.py
55 lines (50 loc) · 1.62 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
55
from setuptools import setup
import sys
import os
if sys.version_info < (3, 3):
sys.exit("GeoPySpark does not support Python versions before 3.3")
setup_args = dict(
name='geopyspark',
version='0.4.2',
author='Jacob Bouffard, James McClain',
author_email='[email protected], [email protected]',
download_url='http://github.com/locationtech-labs/geopyspark',
description='Python bindings for GeoTrellis',
long_description=open('README.rst').read(),
license='LICENSE',
install_requires=[
'protobuf>=3.3.0',
'numpy>=1.8',
'shapely>=1.6b3',
'pytz',
'python-dateutil>=2.6.1'
],
packages=[
'geopyspark',
'geopyspark.geotrellis',
'geopyspark.geotrellis.protobuf',
'geopyspark.geotools',
'geopyspark.geotools.protobuf',
'geopyspark.command',
'geopyspark.jars'
],
entry_points={
"console_scripts": ['geopyspark = geopyspark.command.configuration:main']
},
scripts=[],
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: Apache Software License',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: GIS',
'Topic :: Scientific/Engineering :: Information Analysis',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
]
)
if 'ASSEMBLED' in os.environ.keys():
setup_args['include_package_data'] = True
if __name__ == "__main__":
setup(**setup_args)