-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
75 lines (60 loc) · 1.96 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
[build-system]
requires = [ "setuptools", "setuptools_scm" ]
build-backend = "setuptools.build_meta"
[project]
name = "ts_externalscripts"
description = "External SAL scripts for LSST observing with the script queue."
license = { text = "GPL" }
classifiers = [ "Programming Language :: Python :: 3" ]
urls = { documentation = "https://ts-externalscripts.lsst.io", repository = "https://github.com/lsst-ts/ts_externalscripts" }
dynamic = [ "version" ]
[tool.setuptools.dynamic]
version = { attr = "setuptools_scm.get_version" }
[tool.setuptools.packages.find]
where = [ "python" ]
[tool.setuptools_scm]
write_to = "python/lsst/ts/externalscripts/version.py"
write_to_template = """
# Generated by setuptools_scm
__all__ = ["__version__"]
__version__ = "{version}"
"""
[tool.pytest.ini_options]
asyncio_mode = "auto"
[tool.isort]
profile = "black"
skip = ["__init__.py"]
[project.optional-dependencies]
dev = ["documenteer[pipelines]"]
[tool.towncrier]
package = "lsst.ts.externalscripts"
package_dir = "python"
filename = "doc/version_history.rst"
directory = "doc/news"
filename_format = "{name}.{type}.rst|{name}.{type}.md"
title_format = "{version} ({project_date})"
issue_format = "`{issue} <https://rubinobs.atlassian.net/browse/{issue}>`_"
[[tool.towncrier.type]]
directory = "feature"
name = "New Features"
showcontent = true
[[tool.towncrier.type]]
directory = "bugfix"
name = "Bug Fixes"
showcontent = true
[[tool.towncrier.type]]
directory = "perf"
name = "Performance Enhancement"
showcontent = true
[[tool.towncrier.type]]
directory = "doc"
name = "Documentation"
showcontent = true
[[tool.towncrier.type]]
directory = "removal"
name = "API Removal or Deprecation"
showcontent = true
[[tool.towncrier.type]]
directory = "misc"
name = "Other Changes and Additions"
showcontent = true