-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
50 lines (46 loc) · 1.43 KB
/
setup.py
File metadata and controls
50 lines (46 loc) · 1.43 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
from pathlib import Path
import setuptools
cwd = Path(__file__).parent
package_dir = cwd / "slxpy"
package_data = [str(f.relative_to(package_dir)) for f in (package_dir / "include").glob("**/*") if f.is_file()] + [
str(f.relative_to(package_dir)) for f in (package_dir / "templates").glob("**/*") if f.is_file()
]
long_description = (cwd / "README.md").read_text()
setuptools.setup(
name="slxpy-fork",
version="1.6.2.post1",
description="Simulink Python binding generator.",
long_description=long_description,
long_description_content_type="text/markdown",
python_requires=">=3.8",
license="MIT",
keywords=["simulink", "c++", "gym", "gymnasium"],
author="Jiang Yuxuan",
author_email="jyx21@mails.tsinghua.edu.cn",
url="https://github.com/Pythoniasm/slxpy-fork",
classifiers=["Development Status :: 5 - Production/Stable", "Programming Language :: Python"],
packages=[
"slxpy",
"slxpy.common",
"slxpy.frontend",
"slxpy.backend",
"slxpy.cli",
],
package_data={"slxpy": package_data},
install_requires=[
"pybind11",
"pybind11-stubgen>=2.3",
"Jinja2>=3.0",
"tomli",
"importlib_resources",
"packaging",
"click>=8.0",
"numpy",
],
extras_require={"gym": ["gymnasium"]},
entry_points={
"console_scripts": [
"slxpy = slxpy.cli:entry_point",
],
},
)