-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
65 lines (56 loc) · 1.72 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
[project]
license = { text = "GPLv2" }
name = "pfs_design_tool"
version = "0.1.0"
description = ""
authors = [
{ name = "Wanqiu He" },
{ name = "Kiyoto Yabe" },
{ name = "Eric Jeschke" },
{ name = "Masato Onodera", email = "[email protected]" },
]
dependencies = [
"numpy<1.24.0", # np.complex in cobracharmer
"pandas>=2.1.0",
"psycopg2-binary>=2.9.8",
"astropy>=5.3",
"logzero>=1.7.0",
"matplotlib>=3.8.0",
"astroplan>=0.9.1",
"pyyaml==5.3.1",
# "ets-fiber-assigner @ git+https://github.com/Subaru-PFS/ets_fiberalloc.git",
"ics-cobraOps @ git+https://github.com/Subaru-PFS/ics_cobraOps.git",
"targetdb @ git+https://github.com/Subaru-PFS/ets_target_database.git",
"pfs-datamodel @ git+https://github.com/Subaru-PFS/datamodel.git",
# "ets-shuffle @ git+https://github.com/Subaru-PFS/ets_shuffle.git",
]
requires-python = ">=3.9"
readme = "README.md"
[build-system]
requires = ["setuptools", "wheel", "pybind11"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
package-dir = { "" = "src" }
include-package-data = true
[tool.pdm.dev-dependencies]
dev = [
"-e git+https://github.com/Subaru-PFS/ics_cobraCharmer.git#egg=ics-cobraCharmer@1af21d85a0af309cc57c939b78d625e884ece404",
"-e git+https://github.com/Subaru-PFS/ets_pointing.git#egg=ets-pointing",
"-e git+https://github.com/Subaru-PFS/pfs_utils.git#egg=pfs-utils",
]
[tool.pdm.options]
add = ["--no-isolation"]
install = ["--no-isolation"]
[tool.pdm.scripts]
gen-requirements = { cmd = [
"pdm",
"export",
"--format",
"requirements",
"--without-hashes",
"--pyproject",
"--dev",
"--output",
"requirements.txt",
"--verbose",
], help = "Generate requirements.txt" }