-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
107 lines (97 loc) · 2.78 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
[build-system]
requires = ["setuptools>=64.0.0"]
[tool.setuptools.packages.find]
exclude=["*tests*"]
[project]
name="hera_librarian"
requires-python = ">=3.10"
version = "3.0.10"
dependencies = [
"alembic",
"argon2-cffi",
"xxhash >= 0.8.0",
"cryptography",
"fastapi >= 0.108.0",
"globus-sdk",
"httpx",
"pydantic >= 2",
"pydantic-settings >= 2",
"python-dateutil",
"pyyaml",
"requests >= 2.27.0",
"schedule >= 1.2.1",
"sqlalchemy >= 2",
"sysrsync == 1.1.1",
"uvicorn",
"asyncer==0.0.8",
"loguru",
"notifiers"
]
authors = [
{name = "Josh Borrow"},
{name = "Simons Observatory"},
{name = "Paul La Plante"},
{name = "HERA Team", email = "[email protected]"},
{name = "Peter Williams"},
]
maintainers = [
{name = "Simons Observatory"},
{name = "Josh Borrow", email = "[email protected]"},
{name = "Paul La Plante"},
]
readme = "README.md"
license = {file = "LICENSE"}
classifiers = [
"Development Status :: 2 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Astronomy",
"Topic :: Scientific/Engineering :: Physics",
]
description="The client and server for the Simons Observatory librarian"
[project.optional-dependencies]
dev = [
"black",
"isort",
"pytest",
"coverage",
"pytest-cov",
"pytest-xprocess",
]
postgres = [
"psycopg[binary,pool]",
]
[project.scripts]
librarian-server-start = "librarian_server_scripts.librarian_server_start:main"
librarian-background-only = "librarian_server_scripts.librarian_background_only:main"
librarian-server-setup = "librarian_server_scripts.librarian_server_setup:main"
librarian = "hera_librarian.cli:main"
librarian-server-rebuild-database = "librarian_server_scripts.librarian_server_rebuild_database:main"
librarian-server-repair-database = "librarian_server_scripts.librarian_server_repair_database:main"
librarian-change-transfer-status = "librarian_server_scripts.librarian_change_transfer_status:main"
[project.urls]
Homepage = "https://github.com/simonsobs/librarian"
Legacy = "https://github.com/HERA-Team/librarian/"
[tool.pytest.ini_options]
testpaths = [
"tests/server_unit_test",
"tests/background_unit_test",
"tests/client_unit_test",
"tests/integration_test",
]
[tool.coverage.run]
source = [
"librarian_server",
"librarian_background",
"hera_librarian",
"librarian_server_scripts"
]
[tool.coverage.report]
exclude_lines = ["pragma: no cover"]
exclude_also = ["if TYPE_CHECKING:"]
[tool.isort]
profile = "black"
skip = ["docs", ".github", ".vscode", "container", "env", "env311", "build"]
[tool.black]
exclude = "docs|.github|.vscode|container|env|env311|build"