-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathsetup.py
More file actions
31 lines (26 loc) · 749 Bytes
/
setup.py
File metadata and controls
31 lines (26 loc) · 749 Bytes
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
import os
from setuptools import find_packages, setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
import sys
sys.path.append(os.path.join(os.path.dirname(__file__), 'python'))
extra_requires = {
'gdal': ["gdal", "shapely", "numpy"],
'rasterio': ["rasterio", "shapely", "numpy"]
}
setup(
name='vsi_common',
version='0.0.1',
extra_requires=extra_requires,
packages=find_packages(where='python'),
package_dir={'': 'python'},
author = 'Andy Neff',
author_email = 'andrew.neff@vsi-ri.com',
license='MIT',
description='VSI Library',
long_description=read('README.md'),
url='https://bitbucket.org/visionsystemsinc/vsi_common'
)