-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
66 lines (60 loc) · 1.94 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
56
57
58
59
60
61
62
63
64
65
66
import os
import sys
from setuptools import setup, find_packages
# Requirements
# https://caremad.io/posts/2013/07/setup-vs-requirement/
reqs = [
'opencv-python-headless>=3.1.0',
'gdal>=2.3.3',
'shapely>=1.5.16',
'affine>=2.0.0',
'scipy>=0.19.1',
'pint>=0.8.1',
'Rtree>=0.8.3',
'sortedcontainers>=1.5.9',
]
if (3, 4) <= sys.version_info < (3, 5):
# https://github.com/scikit-image/scikit-image/issues/3820
reqs += ['scikit-image<=0.14.1', 'numpy<1.16']
else:
reqs += ['scikit-image>=0.14.0', 'numpy>=1.15']
readme_path = os.path.join(
os.path.dirname(os.path.abspath(__file__)),
'README.md'
)
readme = open(readme_path, 'rb').read().decode("UTF-8")
# Classifiers
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Scientific/Engineering :: GIS',
]
setup(
name='buzzard',
version='0.6.5',
author='ngoguey',
author_email='[email protected]',
license='Apache License 2.0',
maintainer='ngoguey',
maintainer_email='[email protected]',
description='GIS files manipulations',
long_description=readme,
long_description_content_type='text/markdown',
classifiers=classifiers,
url='https://github.com/earthcube-lab/buzzard',
download_url='https://github.com/earthcube-lab/buzzard/archive/0.6.5.tar.gz',
keywords=['gdal gis raster shp dxf tif vector'],
packages=find_packages(),
install_requires=reqs,
python_requires='>=3.4',
)