Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (79 loc) · 2.43 KB
/
Copy pathpyproject.toml
File metadata and controls
90 lines (79 loc) · 2.43 KB
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
[project]
name = "spectrl"
version = "3.0.0"
description = "Inline spectrum URL encoder: embeds a complete mass spectrum in a compact, URL-safe token."
readme = "README.md"
requires-python = ">=3.12"
license = "Apache-2.0"
license-files = ["LICENSE", "NOTICE"]
keywords = ["mass-spectrometry", "proteomics", "mzml", "spectrum-sharing"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Chemistry",
]
dependencies = [
"numpy>=1.26.0",
"cbor2>=5.6.0",
]
authors = [
{ name = "Patrick T. Garrett", email = "pgarrett@scripps.edu" },
{ name = "John R. Yates III", email = "jyates@scripps.edu" },
]
maintainers = [
{ name = "Patrick T. Garrett", email = "pgarrett@scripps.edu" },
]
[project.urls]
Homepage = "https://github.com/tacular-omics/spectrl"
Documentation = "https://tacular-omics.github.io/spectrl/"
Repository = "https://github.com/tacular-omics/spectrl"
Issues = "https://github.com/tacular-omics/spectrl/issues"
Specification = "https://github.com/tacular-omics/spectrl/blob/main/SPECIFICATION.md"
Changelog = "https://github.com/tacular-omics/spectrl/blob/main/CHANGELOG.md"
DOI = "https://doi.org/10.5281/zenodo.21960544"
[project.optional-dependencies]
brotli = ["brotli>=1.2.0"]
mzml = ["mzmlpy>=0.4.0"]
[project.scripts]
spectrl = "spectrl.cli:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/spectrl"]
[tool.hatch.build.targets.sdist]
# Keep the sdist to the Python package + metadata; the JS impl, demo, CI config,
# and multi-MB mzML test data live in the repo, not the distribution.
exclude = [
"tests/data",
"demo",
"js",
"paper",
"experiments",
".github",
"uv.lock",
]
[tool.uv]
package = true
[dependency-groups]
dev = [
# Registry generation/validation and mzML bridge tests.
"mzmlpy>=0.4.0",
"pytest>=8.0.0",
"pytest-cov>=6.0.0",
"ruff>=0.3.0",
]
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = ["tests"]
[tool.ruff]
target-version = "py312"
line-length = 120
[tool.ruff.lint]
select = ["E", "W", "F", "I", "B", "UP"]