-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
47 lines (38 loc) · 1.05 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
[build-system]
requires = ["setuptools>=45", "setuptools-scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "consdb"
description = "consdb provides support for the Consolidated Database for the `Vera C. Rubin Observatory <https://lsst.org>`_."
license = { text = "GPL" }
dependencies = ["fastapi", "requests", "sqlalchemy", "astropy"]
readme = "README.rst"
dynamic = ["version"]
[project.urls]
Homepage = "https://consdb.lsst.io"
Source = "https://github.com/lsst-dm/consdb"
[tool.black]
line-length = 110
target-version = ["py311"]
[tool.isort]
profile = "black"
line_length = 110
[tool.setuptools.dynamic]
version = { attr = "setuptools_scm.get_version" }
[tool.setuptools.packages.find]
where = [ "python" ]
[tool.setuptools_scm]
write_to = "python/lsst/consdb/version.py"
write_to_template = """
# Generated by setuptools_scm
__all__ = ["__version__"]
__version__ = "{version}"
"""
[tool.pytest.ini_options]
log_level = "DEBUG"
asyncio_mode = "auto"
[project.optional-dependencies]
test = ["pytest"]
dev = [
"documenteer[guide] < 2",
]