-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
59 lines (53 loc) · 1.86 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
from setuptools import setup, find_packages
long_description = """
# PyFMU
PyFMU is a set of tools for developing functional-mockup-units (FMUs) using the full power of Python.
## Documentation
See the online documentation on how to use to tool and FMI in general see the INTO-CPS online documentation:
https://into-cps-application.readthedocs.io
"""
_extras_require = {
"docs": ["Sphinx", "recommonmark", "sphinx_rtd_theme", "sphinx-autoapi"],
"tests": [
"numpy",
"pandas",
"OOModellingPython",
"pytest",
"tox",
"fmpy",
"pyqtgraph",
"scipy",
"PyQt5",
],
"gui": [],
}
_extras_require["dev"] = _extras_require["docs"] + _extras_require["tests"]
setup(
name="pyfmu",
version="0.0.4",
author="INTO-CPS Association",
description="A set of tools for developing functional-mockup-units (FMUs) using the full capabilities of Python.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/INTO-CPS-Association/pyfmu",
packages=find_packages("src"),
package_dir={"": "src"},
project_urls={
"Bug Tracker": "https://github.com/INTO-CPS-Association/pyfmu/issues",
"Documentation": "https://into-cps-application.readthedocs.io/en/latest/submodules/pyfmu/docs/index.html",
"Source Code": "https://github.com/INTO-CPS-Association/pyfmu",
},
install_requires=["Jinja2", "lxml", "tqdm"],
extras_require=_extras_require,
# resources needed by the CLI to generate and export
package_data={
"pyfmu": [
"resources/templates/*.j2",
"resources/wrapper/binaries/*/*[.so|.dll]",
"resources/validation/*",
]
},
include_package_data=True,
python_requires=">=3.8",
entry_points={"console_scripts": ["pyfmu=pyfmu.pyfmu_cli:main"]},
)