forked from kree/autocnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·64 lines (59 loc) · 1.86 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
import os
from setuptools import setup, find_packages
import autocnet
from autocnet.examples import available
#Grab the README.md for the long description
with open('README.rst', 'r') as f:
long_description = f.read()
VERSION = autocnet.__version__
def setup_package():
examples = set()
for i in available():
if not os.path.isdir('plio/examples/' + i):
if '.' in i:
glob_name = 'examples/*.' + i.split('.')[-1]
else:
glob_name = 'examples/' + i
else:
glob_name = 'examples/' + i + '/*'
examples.add(glob_name)
setup(
name = "plio",
version = VERSION,
author = "Jay Laura",
author_email = "jlaura@usgs.gov",
description = ("I/O API to support planetary data formats."),
long_description = long_description,
license = "Public Domain",
keywords = "planetary io",
url = "http://packages.python.org/autocnet",
packages=find_packages(),
include_package_data=True,
package_data={'autocnet' : list(examples)},
zip_safe=False,
install_requires=[
'pandas',
'pyyaml',
'plio',
'cyvlfeat',
'pillow',
'pysal',
'scipy',
'networkx',
'numexpr',
'dill',
'cython',
'matplotlib'],
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Utilities",
"License :: Public Domain",
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)
if __name__ == '__main__':
setup_package()