-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
65 lines (53 loc) · 1.48 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
[build-system]
requires = ["hatchling", "hatch-vcs", "hatch-requirements-txt"]
build-backend = "hatchling.build"
[project]
name = "nsls2api"
dynamic = ["version", "dependencies"]
description = ''
readme = "README.md"
requires-python = ">=3.11"
license = "BSD-3-Clause"
authors = [
{ name = "Stuart Campbell", email = "[email protected]" },
]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
]
[project.scripts]
nsls2api = "nsls2api.cli.cli:app"
[project.urls]
Source = "https://github.com/nsls2/nsls2api/"
[tool.hatch]
version.source = "vcs"
[tool.hatch.metadata.hooks.requirements_txt]
files = ["requirements.txt"]
[tool.hatch.build]
packages = ["src/nsls2api"]
hooks.vcs.version-file = "src/nsls2api/_version.py"
[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
"/.gitignore",
"/.git",
"/.vscode",
"/.pytest_cache",
"/.venv",
]
#[tool.hatch.metadata.hooks.requirements_txt.optional-dependencies]
#dev = ["requirements-dev.txt"]
[tool.black]
target_version = ['py311']
include = '\.pyi?$'
[tool.pytest.ini_options]
asyncio_default_fixture_loop_scope = "function"
asyncio_mode = "auto"
[tool.ruff]
target-version = "py312"