-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
61 lines (54 loc) · 1.38 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
[project]
name = "precondition-opt"
description = "Preconditioning optimizers."
readme = "README.md"
requires-python = ">=3.8"
license = {file = "LICENSE"}
authors = [{name = "precondition authors", email="[email protected]"}]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Science/Research",
]
keywords = []
# pip dependencies of the project
dependencies = [
"chex",
"flax",
"optax",
"jax",
"numpy",
"joblib",
"absl-py",
"scipy",
"scikit-learn",
"pandas",
]
# This is set automatically by flit using `precondition.__version__`
dynamic = ["version"]
[project.urls]
homepage = "https://github.com/google-research/precondition"
repository = "https://github.com/google-research/precondition"
# Other: `documentation`, `changelog`
[project.optional-dependencies]
# Development deps (unittest, linting, formating,...)
# Installed through `pip install .[dev]`
dev = [
"absl-py>=0.8.1",
"pytest",
"pytest-xdist",
"pylint>=2.6.0",
"pyink",
]
[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.5,<4"]
build-backend = "flit_core.buildapi"
[tool.flit.module]
name = "precondition"