-
Notifications
You must be signed in to change notification settings - Fork 63
Expand file tree
/
Copy pathsetup.py
More file actions
59 lines (57 loc) · 1.72 KB
/
setup.py
File metadata and controls
59 lines (57 loc) · 1.72 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
import sys
from setuptools import setup, find_packages
# Define version-specific dependencies
if sys.version_info >= (3, 11):
# For Python 3.11 and 3.12
NUMPY_REQUIREMENT = "numpy>=1.24.0"
PANDAS_REQUIREMENT = "pandas>=2.0.0"
elif sys.version_info >= (3, 9):
# For Python 3.9 and 3.10
NUMPY_REQUIREMENT = "numpy>=1.20.0,<2.0.0"
PANDAS_REQUIREMENT = "pandas>=1.3.0,<2.1.0"
else:
# For Python 3.8
NUMPY_REQUIREMENT = "numpy>=1.20.0,<1.24.0"
PANDAS_REQUIREMENT = "pandas>=1.3.0,<2.0.0"
setup(
name="JSSEnv",
version="1.1.0",
author="Pierre Tassel",
author_email="pierre.tassel@aau.at",
description="An optimized OpenAi gym's environment to simulate the Job-Shop Scheduling problem.",
url="https://github.com/prosysscience/JSSEnv",
packages=find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.8",
install_requires=[
"gymnasium>=0.29.1",
NUMPY_REQUIREMENT,
PANDAS_REQUIREMENT,
"plotly",
"imageio",
"psutil",
"requests",
"kaleido",
],
extras_require={
"dev": [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"flake8>=6.0.0",
"codecov>=2.1.0",
"build>=1.0.0",
"wheel>=0.40.0",
],
},
include_package_data=True,
zip_safe=False,
)