-
Notifications
You must be signed in to change notification settings - Fork 25
/
setup.py
33 lines (30 loc) · 1.61 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
# File setup.py
def configuration(parent_package='',top_path=None):
from numpy.distutils.misc_util import Configuration
config = Configuration('',parent_package,top_path,
name = "PyPROSAIL",
version = "1.0.1",
description = """PyProSAIL is a Python interface to the ProSAIL combined leaf and canopy optical model.
For more information see http://pyprosail.readthedocs.org.""",
packages = ['pyprosail'],
author = "Robin Wilson",
author_email = "[email protected]",
url = "http://packages.python.org/PyPROSAIL",
classifiers =[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Atmospheric Science",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
"Programming Language :: Python"
])
config.add_extension('_prosail_model',
sources = ['./pyprosail/MODULE_PRO4SAIL.f90', './pyprosail/dataSpec_P5B.f90',
'./pyprosail/LIDF.f90', './pyprosail/dladgen.f', './pyprosail/PRO4SAIL.f90',
'./pyprosail/prospect_5B.f90', './pyprosail/tav_abs.f90', './pyprosail/volscatt.f90',
'./pyprosail/PyPROSAIL.f90'])
return config
if __name__ == "__main__":
from numpy.distutils.core import setup
setup(**configuration(top_path='').todict())