-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (62 loc) · 1.85 KB
/
pyproject.toml
File metadata and controls
69 lines (62 loc) · 1.85 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
[project]
name = "dataclass_array"
description = "Dataclasses that behave like numpy arrays (with indexing, slicing, vectorization)."
readme = "README.md"
requires-python = ">=3.11"
license = {file = "LICENSE"}
authors = [{name = "dataclass_array team", email="dataclass_array@google.com"}]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Science/Research",
"Topic :: Software Development :: Libraries :: Python Modules",
]
keywords = ["dataclass", "dataclasses", "numpy", "jax", "tensorflow", "array"]
# pip dependencies of the project
dependencies = [
"einops",
"etils[edc,enp,epath,epy,etree]",
"lark",
"numpy",
"typing_extensions",
]
# This is set automatically by flit using `dataclass_array.__version__`
dynamic = ["version"]
[project.urls]
homepage = "https://github.com/google-research/dataclass_array"
repository = "https://github.com/google-research/dataclass_array"
documentation = "https://dataclass-array.readthedocs.io"
changelog = "https://github.com/google-research/dataclass_array/blob/main/CHANGELOG.md"
[project.optional-dependencies]
# Development deps (unittest, linting, formating,...)
# Installed through `pip install .[dev]`
dev = [
"pytest",
"pytest-xdist",
"pylint>=2.6.0",
"pyink",
# Lazy deps
"chex",
"jax[cpu]",
"tf-nightly",
"torch",
]
docs = [
"sphinx-apitree[ext]",
"dataclass_array[dev]", # Install lazy deps
]
[tool.pyink]
# Formatting configuration to follow Google style-guide
line-length = 80
preview = true
pyink-indentation = 2
pyink-use-majority-quotes = true
[build-system]
requires = ["flit_core >=3.8,<4"]
build-backend = "flit_core.buildapi"
[tool.flit.sdist]
exclude = [
# Do not release tests files on PyPI
"**/*_test.py",
]