forked from wenyl22/RealtimeGym
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
102 lines (90 loc) · 2.58 KB
/
pyproject.toml
File metadata and controls
102 lines (90 loc) · 2.58 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
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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "realtime-gym"
version = "0.1.0"
authors = [
{ name="wenyl", email="wenyl22@mails.tsinghua.edu.cn" },
]
description = "A real-time gym for evaluating language agents in dynamic environments with time constraints."
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"openai>=1.0.0",
"transformers>=4.30.0",
"pandas>=1.3.0",
"numpy>=1.21.0",
"pygame>=2.0.0",
"Pillow>=9.0.0",
"scipy>=1.7.0",
"gym>=0.26.0",
"tqdm>=4.65.0",
"ipython>=7.0.0",
"ipywidgets>=7.6.0",
"imageio>=2.9.0",
"python-dotenv>=0.19.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"ruff>=0.1.0",
"pre-commit>=3.0.0",
"ty",
]
[project.scripts]
agile_eval = "realtimegym.agile_eval:main"
[project.urls]
"Homepage" = "https://github.com/wenyl22/RealtimeGym"
"Bug Tracker" = "https://github.com/wenyl22/RealtimeGym/issues"
"Documentation" = "https://bleaves.github.io/real-time-reasoning/"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
realtimegym = ["prompts/*.yaml"]
[tool.ty.src]
exclude = [
# Third-party vendored code from Overcooked-AI (https://github.com/HumanCompatibleAI/overcooked_ai)
# See src/realtimegym/environments/overcooked_new/THIRD_PARTY_NOTICE.md for details
"src/realtimegym/environments/overcooked_new/**",
"src/realtimegym/environments/freeway.py",
]
# Note: ty does not currently have a rule to disallow implicit Any types
# All type annotations should be added manually for better type safety
[tool.ruff]
select = ["ANN"]
exclude = [
# Third-party vendored code from Overcooked-AI (https://github.com/HumanCompatibleAI/overcooked_ai)
# See src/realtimegym/environments/overcooked_new/THIRD_PARTY_NOTICE.md for details
"src/realtimegym/environments/overcooked_new",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"-v",
"--strict-markers",
"--tb=short",
"--cov=src/realtimegym",
"--cov-report=term-missing",
"--cov-report=html",
]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests",
]
[dependency-groups]
dev = [
"pre-commit>=3.5.0",
"pytest>=8.3.5",
]