generated from r-pad/python_pkg_template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
68 lines (58 loc) · 1.69 KB
/
pyproject.toml
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
[project]
name = "rpad-rlbench-utils"
version = "0.1.0"
description = "A Python Package Template"
readme = "README.md"
requires-python = ">=3.6"
license = { file = "LICENSE.txt" }
authors = [{ email = "[email protected]", name = "Ben Eisner" }]
dependencies = [
"dm-tree",
"torch",
"torchvision",
# Internal rpad requirements.
"rpad-visualize-3d @ git+https://github.com/r-pad/visualize_3d.git",
# Pyrep requirements. https://github.com/stepjam/PyRep/blob/master/requirements.txt
"pyrep", # Should already be installed.
"numpy",
# RLBench requirements.
"rlbench @ git+https://github.com/beneisner/RLBench.git@21147e5612d8c3edbcbb50baec4ce797b0a2d2f9#egg=rlbench",
"Pillow",
"pyquaternion",
"html-testRunner",
"setuptools",
"natsort",
]
[build-system]
requires = ["cffi==1.14.2", "setuptools >= 62.3.2", "setuptools-scm", "wheel"]
build-backend = "setuptools.build_meta"
[project.optional-dependencies]
develop = [
"autoflake == 2.1.1",
"black == 23.3.0",
"isort == 5.12.0",
"mypy == 1.3.0",
"pylint == 2.17.4",
"pytest == 7.3.2",
"pre-commit == 3.3.3",
]
notebooks = ["jupyter"]
build_docs = ["mkdocs-material", "mkdocstrings[python]"]
# This is required to allow us to have notebooks/ at the top level.
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
rpad = ["py.typed"]
[tool.isort]
profile = "black"
[tool.mypy]
python_version = 3.8
warn_return_any = true
warn_unused_configs = true
mypy_path = "src"
namespace_packages = true
explicit_package_bases = true
# Uncomment this when you have imports for mypy to ignore.
[[tool.mypy.overrides]]
module = ["joblib.*", "pyrep.*", "rlbench.*", "scipy.*", "tree.*"]
ignore_missing_imports = true