-
Notifications
You must be signed in to change notification settings - Fork 89
/
Copy pathpyproject.toml
74 lines (64 loc) · 1.76 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
69
70
71
72
73
74
[build-system]
requires = ["setuptools", "wheel", "pybind11", "setuptools_scm"]
build-backend = "setuptools.build_meta"
[tool.usort]
first_party_detection = false
target-version = ["py39"]
excludes = [
"gallery",
"tutorials",
]
[tool.black]
line-length = 88
target-version = ["py39"]
[project]
name = "tensordict"
version = "0.8.0"
description = "TensorDict is a pytorch dedicated tensor container."
authors = [
{ name="Vincent Moens", email="[email protected]" }
]
readme = "README.md"
license = { text = "BSD" }
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Development Status :: 4 - Beta"
]
dependencies = [
"torch",
"numpy",
"cloudpickle",
"packaging",
"importlib_metadata",
# orjson fails to be installed in python 3.13t
'orjson ; python_version < "3.13"',
]
[project.urls]
homepage = "https://github.com/pytorch/tensordict"
[project.optional-dependencies]
tests = [
"pytest",
"pyyaml",
"pytest-instafail",
"pytest-rerunfailures",
"pytest-benchmark"
]
checkpointing = ["torchsnapshot-nightly"]
h5 = ["h5py>=3.8"]
dev = ["pybind11", "cmake", "ninja"]
[tool.setuptools]
include-package-data = false
[tool.setuptools.packages.find]
exclude = ["test*", "tutorials*", "packaging*", "gallery*", "docs*", "benchmarks*"]
#[tool.setuptools.extension]
#my_extension = { sources = ["tensordict/csrc/pybind.cpp", "tensordict/csrc/utils.cpp"] }
[tool.setuptools.package-data]
"tensordict" = ["*.so", "*.pyd", "*.dll"]
[tool.setuptools_scm]
version_scheme = "post-release"
write_to = "tensordict/_version.py"