-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsetup.py
40 lines (34 loc) · 1008 Bytes
/
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
import re
from setuptools import setup, find_packages
def readme():
"""Return the contents of the project README file."""
with open('README.md') as f:
return f.read()
version = re.search(
r"__version__ = ['\"]([^'\"]*)['\"]", open("demeter/_version.py").read(), re.M
).group(1)
setup(
name='demeter',
version=version,
python_requires=">=3.9",
packages=find_packages(),
url='https://github.com/JGCRI/demeter',
license='BSD 2-Clause',
author='Chris R. Vernon',
author_email='[email protected]',
description='A land use land cover change disaggregation model',
long_description=readme(),
long_description_content_type="text/markdown",
install_requires=[
'configobj>=5.0.6',
'numpy>=1.20.3',
'pandas>=1.2.4',
'scipy>=1.6.3',
'requests>=2.20.0',
'gcamreader>=1.2.5',
'xarray>=0.20.2',
'netcdf4>=1.6.4',
'matplotlib>=3.4.2',
],
include_package_data=True
)