-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathsetup.py
executable file
·51 lines (45 loc) · 1.59 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
#!/usr/bin/env python3
# vim:set ff=unix expandtab ts=4 sw=4:
from setuptools import setup, find_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="[email protected]",
url="https://github.com/MPIBGC-TEE/bgc_md2",
packages=find_packages('src'), # find all packages (multifile modules) recursively
package_dir={'': 'src'},
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()
)