forked from perrygeo/pyimpute
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
55 lines (48 loc) · 1.54 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
import os
import sys
from setuptools import setup
from setuptools.command.test import test as TestCommand
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
setup(
name="pyimpute",
version="0.1.2",
author="Matthew Perry",
author_email="[email protected]",
description=("Utilities for applying scikit-learn to spatial datasets"),
license="BSD",
keywords="gis geospatial geographic raster vector zonal statistics machinelearning",
url="https://github.com/perrygeo/pyimpute",
package_dir={'': 'src'},
packages=['pyimpute'],
long_description=read('README.md'),
install_requires=[
'scikit-learn',
'scipy',
'numpy',
'rasterstats',
'rasterio'
],
tests_require=['pytest', 'pyshp>=1.1.4', 'coverage'],
cmdclass = {'test': PyTest},
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Utilities",
"License :: OSI Approved :: BSD License",
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Topic :: Scientific/Engineering :: GIS',
],
)