forked from repository-preservation/lcmap-pyccd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
91 lines (71 loc) · 2.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
"""pyccd is an implementation of the Continuous Change Detection
algorithm. This is designed for inclusion into the LCMAP project.
Principal Algorithm investigator:
Zhe Zhu
Assistant Professor,
Department of Geosciences,
Texas Tech University, TX, USA
"""
from setuptools import setup
from os import path
import io
here = path.abspath(path.dirname(__file__))
# bring in __version__ and __name from version.py for install.
with open(path.join(here, 'ccd', 'version.py')) as h:
exec(h.read())
setup(
# __name is defined in version.py
name=__name,
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
# __version__ is defined in version.py
version=__version__,
description='Python implementation of Continuous Change Detection',
long_description=__doc__,
url='https://github.com/usgs-eros/lcmap-pyccd',
maintainer='klsmith-usgs',
maintainer_email='kelcy.smith.ctr@usgs.gov',
license='Public Domain',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: Public Domain',
# 'Programming Language :: Python :: 2',
# 'Programming Language :: Python :: 2.7',
# 'Programming Language :: Python :: 3',
# 'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='python change detection',
packages=['ccd', 'ccd.models'],
install_requires=['numpy>=1.10.0',
'scipy>=0.18.1',
'scikit-learn>=0.18'],
extras_require={
'test': ['aniso8601>=1.1.0',
'flake8>=3.0.4',
'coverage>=4.2',
'pytest>=3.0.2',
'pytest-profiling>=1.1.1',
'gprof2dot>=2015.12.1',
'pytest-watch>=4.1.0'],
'dev': ['jupyter',
'line_profiler'],
},
setup_requires=['pytest-runner', 'pip'],
tests_require=['pytest>=3.0.2'],
# data_files=[('my_data', ['data/data_file'])],
# entry_points={'console_scripts': ['pyccd-detect=ccd.cli:detect', ], },
# entry_points='''
# [core_package.cli_plugins]
# sample=ccd.cli:sample
# another_subcommand=ccd.cli:another_subcommand
# ''',
)