-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
44 lines (38 loc) · 1.12 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
[build-system]
requires = [
"setuptools",
"setuptools-scm<8.0"]
build-backend = "setuptools.build_meta"
[project]
name = "syseng_throughputs"
description = "Rubin Observatory System Engineering Repository of Throughput Components"
readme = "README.md"
license = { text = "GPL" }
classifiers = [
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Astronomy",
]
urls = {repository = "https://github.com/lsst-pst/syseng_throughputs" }
dynamic = [ "version" ]
dependencies = [
"numpy",
"rubin_sim >= 2",
]
[project.scripts]
calc_m5 = "syseng_throughputs.bin:calc_m5"
[tool.setuptools.dynamic]
version = { attr = "setuptools_scm.get_version" }
[tool.setuptools.packages.find]
where = [ "" ]
[tool.setuptools_scm]
#version_file = "syseng_throughputs/version.py"
write_to = "syseng_throughputs/version.py"
write_to_template = """
# Generated by setuptools_scm
__all__ = ["__version__"]
__version__ = "{version}"
"""