forked from JGCRI/demeter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
31 lines (24 loc) · 830 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
import sys
try:
from setuptools import setup, find_packages
except ImportError:
sys.stdout.write('Missing Package: setuptools not found. Demeter requires this to install. Please install setuptools and retry.')
sys.exit(1)
def readme():
with open('README.md') as f:
return f.read()
def get_requirements():
with open('requirements.txt') as f:
return f.read().split()
setup(
name='demeter',
version='1.0.0',
packages=find_packages(),
url='https://github.com/IMMM-SFA/demeter',
license='BSD 2-Clause',
author='Chris R. Vernon; Yannick le Page',
author_email='[email protected]; [email protected]',
description='A land use land cover disaggregation and land change analytic model',
long_description=readme(),
install_requires=get_requirements()
)