-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
45 lines (39 loc) · 1.15 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
import pathlib
from setuptools import setup, find_packages
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
README = (HERE / "README.md").read_text()
setup(
# package metadata
name="pygrassml",
version="0.01",
author="Steven Pawley",
author_email="steven.pawley@gmail.com",
description=("Machine learning for GIS spatial modelling using GRASS GIS "
"as a backend"),
long_description=README,
long_description_content_type="text/markdown",
license="GNU",
keywords="GIS",
url="https://github.com/stevenpawley/r.learn.ml2",
# files/directories to be installed with package
packages=find_packages(),
package_data={
'': ['*.tif', '*.dbf', '*.prj', '*.shp', '*.shx'],
},
include_package_data=True,
# package dependencies
install_requires=[
'numpy>=1.10.0',
'scipy>1.0.0',
'tqdm>=4.20',
'pandas>=0.20',
'matplotlib>=2.2.4',
'scikit-learn>=0.22',
'grass-session'],
python_requires='>=3.5',
# testing
setup_requires=['pytest-runner'],
tests_require=['pytest']
)