-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
61 lines (46 loc) · 1.58 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
# -*- coding: latin-1 -*-
"""
setup
~~~~~
Setup script for installation.
See README.md for installing procedure.
:copyright: TODO.
:license: Cecill-CeCILL-C.
.. seealso:: Louarn and Faverjon, 2018.
"""
"""
Information about this versioned file:
$LastChangedBy: cchambon $
$LastChangedDate: 2017-09-14 10:38:00 +0200 (jeu., 14 sept. 2017) $
$LastChangedRevision: 21 $
$URL: https://subversion.renater.fr/respi-wheat/trunk/setup.py $
$Id: setup.py 21 2017-09-14 08:38:00Z cchambon $
"""
import ez_setup
import pkg_resources
ez_setup.use_setuptools()
import sys, os
from setuptools import setup, find_packages
import legume
if sys.version_info < (3, 0):
print('ERROR: l-egume requires at least Python 3.0 to run.')
sys.exit(1)
if sys.version_info >= (3, 6):
print('WARNING: l-egume has not been tested with Python > 3.6')
pkg_resources.require('numpy', 'scipy', 'xlrd', 'openalea.lpy')#,'openalea.plantgl.all', 'multiprocessing'
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "L-egume",
version=legume.__version__,
packages = find_packages(),
include_package_data = True,
author = "G. Louarn, L. Faverjon",
author_email = "gaetan.louarn@inra.fr",
description = "A model of forage legume morphogenesis",
#long_description = read('README.md'),
license = "CeCILL-C",
keywords = "Individual-based model ,FSPM, legume, morphogenesis, shoot, roots ",
url = "https://github.com/glouarn/l-egume",
download_url = "",
)