-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (73 loc) · 2.21 KB
/
Copy pathpyproject.toml
File metadata and controls
84 lines (73 loc) · 2.21 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
[build-system]
requires = ["setuptools>=69", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "antsnormflows"
dynamic = ["version", "dependencies"]
description = "PyTorch implementation of normalizing flows (Glow 2D/3D, coupling layers, utilities)"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.10"
license = 'Apache-2.0 AND MIT'
license-files = ['LICENSE']
authors = [{ name = "ntustison" }]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Development Status :: 3 - Alpha"
]
[project.urls]
Homepage = "https://github.com/ANTsX/ANTsNormalizingFlows"
Repository = "https://github.com/ANTsX/ANTsNormalizingFlows"
Issues = "https://github.com/ANTsX/ANTsNormalizingFlows/issues"
[project.optional-dependencies]
# pip install -e .[test], .[dev], .[docs], .[examples]
test = ["pytest>=8.0", "pytest-cov>=4.1", "hypothesis>=6.0", "matplotlib"]
dev = ["black>=24.0", "ruff>=0.6.0", "mypy>=1.8", "pre-commit>=3.6", "build>=1.2.1", "twine>=5.0"]
docs = [
"sphinx>=7.2",
"sphinx-design>=0.6",
"sphinx-rtd-theme>=2.0",
]
examples = [
"matplotlib",
"jupyterlab",
"tqdm",
"scikit-learn",
"ipywidgets",
"pandas",
"torchvision"
]
[tool.setuptools]
zip-safe = false
package-dir = { "" = "src" }
[tool.setuptools.packages.find]
where = ["src"]
include = ["antsnormflows*"]
[tool.setuptools.package-data]
antsnormflows = ["py.typed"]
[tool.setuptools.dynamic]
version = { attr = "antsnormflows._version.__version__" }
dependencies = { file = ["requirements.txt"] }
[tool.pytest.ini_options]
addopts = "-ra -q --strict-markers"
testpaths = ["tests"]
pythonpath = ["."]
[tool.black]
line-length = 100
target-version = ["py310"]
[tool.ruff]
line-length = 100
target-version = "py310"
select = ["E","F","I","UP"]
[tool.mypy]
python_version = "3.10"
warn_unused_configs = true
check_untyped_defs = true
no_implicit_optional = true
show_error_codes = true