-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
90 lines (82 loc) · 1.84 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[build-system]
requires = ["setuptools>=64.0.3", "wheel", "setuptools_scm[toml]"]
build-backend = "setuptools.build_meta"
[project]
name = "glasflow"
description = "Normalising flows using nflows"
authors = [
{name = "Michael J. Williams", email = "[email protected]"},
{name = "Federico Stachurski", email = "[email protected]"},
{name = "Jordan McGinn"},
{name = "John Veitch", email = "[email protected]"},
]
readme = "README.md"
requires-python = ">=3.8"
license = {text = "MIT"}
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
keywords = [
"normalising flows",
"normalizing flows",
"machine learning",
]
dependencies = [
"numpy",
"torch>=1.11.0",
]
dynamic = [
"version",
]
[project.urls]
"Homepage" = "https://github.com/uofgravity/glasflow"
[project.optional-dependencies]
nflows = ["nflows"]
nflows-test = [
"pytest",
"pytest-rerunfailures",
"torchtestcase",
"UMNN",
]
dev = [
"black[jupyter]",
"pre-commit",
"pytest",
"pytest-cov",
"pytest-integration",
"pytest-requires",
"pytest-rerunfailures",
]
examples = [
"ipykernel",
"matplotlib",
"scikit-learn",
"scipy",
"seaborn",
]
[tool.setuptools.package-dir]
glasflow = "src/glasflow"
"glasflow.nflows" = "submodules/nflows/nflows"
[tool.setuptools_scm]
[tool.black]
line-length = 79
target-version = ["py38", "py39", "py310", "py311", "py312"]
extend-exclude = "submodules"
[tool.flake8]
exclude = [
"submodules",
"build",
]
ignore = ["E203", "E266", "E501", "W503", "F403", "F401"]
max-line-length = 79
max-complexity = 18
select = ["B", "C", "E", "F", "W", "T4", "B9"]
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]
testpaths = [
"tests"
]