-
Notifications
You must be signed in to change notification settings - Fork 132
/
Copy pathsetup.py
66 lines (58 loc) · 1.99 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
64
65
from __future__ import print_function
from setuptools import setup, find_packages
import os
import io
PACKAGE = "pcse"
NAME = "PCSE"
DESCRIPTION = 'Framework for developing crop simulation models, ' \
'includes an implementation of '\
'the WOFOST and LINTUL crop simulation models and ' \
'the LINGRA grassland simulation model.'
AUTHOR = "Allard de Wit"
AUTHOR_EMAIL = '[email protected]'
URL = 'http://github.com/ajwdewit/pcse/'
LICENSE="EUPL"
VERSION = "6.0.8"
here = os.path.abspath(os.path.dirname(__file__))
def read(*filenames, **kwargs):
encoding = kwargs.get('encoding', 'utf-8')
sep = kwargs.get('sep', '\n')
buf = []
for filename in filenames:
with io.open(filename, encoding=encoding) as f:
buf.append(f.read())
return sep.join(buf)
long_description = read('README.rst')
setup(
name=NAME,
version=VERSION,
url=URL,
download_url='http://github.com/ajwdewit/pcse/tarball/'+VERSION,
license='EUPL',
author=AUTHOR,
install_requires=['SQLAlchemy>=1.3.0, <2.0',
'PyYAML>=5.1',
'openpyxl>=3.0.0',
'requests>=2.0.0',
'pandas>=0.25',
'traitlets-pcse==5.0.0.dev',
'dotmap>=1.3',
],
author_email=AUTHOR_EMAIL,
description=DESCRIPTION,
long_description=long_description,
packages=find_packages(),
include_package_data=True,
platforms='any',
test_suite='pcse.tests.make_test_suite',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: European Union Public Licence 1.2 (EUPL 1.2)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Scientific/Engineering']
)