forked from openalea-incubator/cn-wheat
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·64 lines (50 loc) · 2.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# -*- coding: latin-1 -*-
import ez_setup
import pkg_resources
import sys
from setuptools import setup, find_packages
import cnwheat
"""
setup
~~~~~
Setup script for installation.
See README.md for installing procedure.
:copyright: Copyright 2014-2017 INRA-ECOSYS, see AUTHORS.
:license: CeCILL-C, see LICENSE for details.
**Acknowledgments**: The research leading these results has received funding through the
Investment for the Future programme managed by the Research National Agency
(BreedWheat project ANR-10-BTBR-03).
.. seealso:: Barillot et al. 2016.
"""
"""
Information about this versioned file:
$LastChangedBy$
$LastChangedDate$
$LastChangedRevision$
$URL$
$Id$
"""
ez_setup.use_setuptools()
if sys.version_info < (2, 7):
print('ERROR: CN-Wheat requires at least Python 2.7 to run.')
sys.exit(1)
# pkg_resources.require('numpy>=1.11.0', 'pandas>=0.18.0', 'scipy>=0.16.1',
# 'matplotlib>=1.5', 'sphinx>=1.4.8', 'nose>=1.3.7',
# 'coverage>=4.4.1', 'Respi-Wheat')
setup(
name="CN-Wheat",
version=cnwheat.__version__,
packages=find_packages(),
include_package_data=True,
author="R.Barillot, C.Chambon, M.Gauthier and B.Andrieu",
author_email="romain.barillot@inrae.fr, camille.chambon@inrae.fr, bruno.andrieu@inrae.fr, marion.gauthier@inrae.fr",
description="CN-Wheat is a model of CN distribution for wheat",
long_description="""CN-Wheat is a Functional-Structural Plant Model which
simulates the distribution of carbon and nitrogen into wheat culms in relation
to photosynthesis, N uptake, metabolite turnover, root exudation and tissue death.""",
license="CeCILL-C",
keywords="functional-structural plant model, wheat, ode, system integration, scipy, trophic status, carbon, nitrogen, metabolism, remobilisation, source-sink relation, resource allocation",
url="https://sourcesup.renater.fr/projects/cn-wheat/",
download_url="https://sourcesup.renater.fr/frs/download.php/latestzip/2088/CN-Wheat-Stable-latest.zip",
# install_requires=['pandas', 'numpy', 'matplotlib']
)