-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·63 lines (57 loc) · 1.66 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
import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
# Parse the version
with open("becmodel/__init__.py", "r") as f:
for line in f:
if line.find("__version__") >= 0:
version = line.split("=")[1].strip()
version = version.strip('"')
version = version.strip("'")
break
requires = [
"bcdata",
"click",
"fiona",
"gdal",
"geopandas",
"geojson",
"numpy",
"pandas",
"rasterio",
"scikit-image",
"xlrd",
"cligj",
"mercantile",
"terraincache",
]
setup(
name="becmodel",
version=version,
url="https://github.com/smnorris/becmodel",
description=u"Modelling tool for generating biogeoclimatic ecosystem classification (BEC) polygons",
long_description=read("README.md"),
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
keywords='BEC Biogeoclimatic Ecosystem Classification "Britsh Columbia"',
author=u"Simon Norris",
author_email="[email protected]",
license="Apache",
packages=find_packages(exclude=["ez_setup", "examples", "tests"]),
include_package_data=True,
zip_safe=False,
install_requires=requires,
extras_require={"test": ["pytest"]},
entry_points="""
[console_scripts]
becmodel=becmodel.cli:cli
""",
)