-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
104 lines (95 loc) · 3.26 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
#!/usr/bin/env python
import pathlib
from setuptools import setup, find_packages
from antareslauncher import __author__, __project_name__, __version__
# Dependencies required to install the application in "production" or "development" mode.
# Use `pip install -e .` to install in "development" mode.
# The version numbers are loosely constrained to allow installation of bugfix versions,
# but sufficiently constrained to avoid incompatibilities.
# It is the developer's responsibility to update versions: unit tests should
# detect incompatibility problems.
# Warning: this package is used as a library, so you should not constrain the versions too much.
install_requires = [
"paramiko~= 3.4.1",
"PyYAML < 6.0", # required version for AntaREST
"tinydb < 4.8",
"tqdm < 4.65",
# frozen requirements for AntaREST:
"bcrypt~=3.2.2",
]
# Extra dependencies used for testing in "development" mode.
# Use `pip install -e .[test]` to install.
test_requires = [
"pytest ~= 7.2.1",
"pytest-cov ~= 4.0.0",
"pytest-xdist ~= 3.1.0",
]
# Extra dependencies used for developing.
# Use `pip install -e .[dev]` to install.
dev_requires = [
"black",
"check-manifest",
"isort",
"mypy",
]
# Extra dependencies used for documentation generation.
# Use `pip install -e .[docs]` to install.
docs_requires = [
"m2r",
"recommonmark",
"sphinx",
"sphinx_rtd_theme",
# sphinx-rtd-theme 1.2.0 has requirement docutils<0.19
"docutils<0.19",
]
# Extra dependencies used to create the executable package.
# Use `pip install -e .[pyinstaller]` to install.
pyinstaller_requires = [
"pyinstaller ~= 5.8.0",
]
setup(
name=__project_name__,
version="1.4.3",
description="Antares_Launcher to run Antares on a remote linux machine",
long_description=pathlib.Path("README.md").read_text(encoding="utf-8"),
long_description_content_type="text/markdown",
author=__author__,
author_email="[email protected]",
url="https://github.com/AntaresSimulatorTeam/antares-launcher.git",
packages=find_packages(exclude=["tests*"]),
install_requires=install_requires,
extras_require={
"test": test_requires,
"dev": dev_requires,
"docs": docs_requires,
"pyinstaller": pyinstaller_requires,
},
license="Apache Software License",
platforms=[
"linux-x86_64",
"macosx-10.14-x86_64",
"macosx-10.15-x86_64",
"macosx-11-x86_64",
"macosx-12-x86_64",
"macosx-13-x86_64",
"win-amd64",
],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Environment :: Console",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
],
entry_points={
"console_scripts": ["Antares_Launcher = antareslauncher.advanced_launch:main"],
},
python_requires=">=3.8, <4",
)