-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·73 lines (67 loc) · 2.19 KB
/
Copy pathsetup.py
File metadata and controls
executable file
·73 lines (67 loc) · 2.19 KB
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
66
67
68
69
70
71
72
73
#!/usr/bin/env python3
# vim:set ff=unix expandtab ts=4 sw=4:
from setuptools import setup, find_packages, find_namespace_packages
def readme():
with open("README.md") as f:
return f.read()
def non_src_requirements():
with open("requirements.non_src") as f:
return [l.strip() for l in f.readlines()]
packages=find_packages('src'), # find all packages (multifile modules) recursively
print(packages)
setup(
name="bgc_md2",
version="0.1",
test_suite="example_package.tests", # http://pythonhosted.org/setuptools/setuptools.html#test
description="Model Database for Carbon Allocation",
long_description=readme(), # avoid duplication
author="MarkusHolger, Veronika, Thomas, ",
author_email="markus.mueller.1.g@gmail.com",
url="https://github.com/MPIBGC-TEE/bgc_md2",
packages=find_namespace_packages(where='src'), # find all packages (multifile modules) recursively
package_dir={'': 'src'},
package_data={
'bgc_md2.models.Aneesh_SDGVM.parameterization_from_test_args':[
'*.nc',
'*.json',
]
,
'bgc_md2.models.jon_yib.parameterization_from_test_args':[
'*.nc',
'*.json',
]
,
'bgc_md2.models.yz_jules.parameterization_from_test_args':[
'*.nc',
'*.json',
]
,
'bgc_md2.models.kv_visit2.parameterization_from_test_args':[
'*.nc',
'*.json',
]
,
},
include_package_data=True,
zip_safe=False,
classifiers=[
"Programming Language :: Python :: 3",
"Development Status :: 4 - Beta",
"Environment :: Other Environment",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
"Operating System :: POSIX :: Linux",
"Topic :: Education ",
],
# entry_points={
#'console_scripts': [
# 'render= bgc_md.reports:render_parse'
# ]
# },
install_requires=[
"CompartmentalSystems",
"ComputabilityGraphs",
"LAPM",
"testinfrastructure",
] + non_src_requirements()
)