-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpyproject.toml
152 lines (140 loc) · 3.64 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
[project]
name = "space_packet_parser"
version = "6.0.0rc2"
description = "A CCSDS telemetry packet decoding library based on the XTCE packet format description standard."
license = { text = "BSD-3-Clause" }
readme = "README.md"
requires-python = ">=3.9"
authors = [
{ name = "Gavin Medley", email = "[email protected]" },
{ name = "Greg Lucas", email = "[email protected]" },
{ name = "Michael Chambliss", email = "[email protected]" }
]
maintainers = [
{ name = "Gavin Medley", email = "[email protected]" },
{ name = "Greg Lucas", email = "[email protected]" }
]
keywords = [
"ccsds",
"xtce",
"space data systems",
"space packet protocol",
"packet parsing",
"lasp",
"university of colorado",
"data processing",
"data extraction",
"data manipulation",
"data transformation",
"data encoding",
"data decoding",
"packet inspection",
"binary data",
"python"
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"License :: OSI Approved :: BSD License"
]
# These are the dependencies used for metadata when building the project
dependencies = [
"lxml>=4.8.0",
"click>=8.0",
"rich>=13.0"
]
[project.urls]
repository = "https://github.com/lasp/space_packet_parser"
homepage = "https://github.com/lasp/space_packet_parser"
documentation = "https://space-packet-parser.readthedocs.io"
[project.scripts]
spp = "space_packet_parser.cli:spp"
# These are the project extras used for metadata when building the project
[project.optional-dependencies]
xarray = [
"xarray>2024.0.0",
"numpy>=2.0.0"
]
examples = [
"matplotlib>=3.4"
]
test = [
"pre-commit",
"pytest",
"pytest-benchmark",
"pytest-randomly",
"pytest-cov",
"pyyaml", # needed by check_metadata.py
"ruff",
"tomli", # for support of python<3.11 toml parsing in check_metadata.py
"xarray", # for testing extra
"numpy" # for testing extra
]
docs = [
"pyyaml",
"sphinx",
"myst-parser",
"sphinx-autoapi",
"sphinx-rtd-theme"
]
[tool.poetry]
packages = [
{ include = "space_packet_parser" }
]
include = [
"LICENSE.txt",
"CITATION.cff"
]
[tool.poetry.group.xarray.dependencies]
xarray = ">2024.0.0"
numpy = ">=2.0.0"
[tool.poetry.group.examples.dependencies]
matplotlib = ">=3.4"
[tool.poetry.group.test.dependencies]
pre-commit = "*"
pytest = "*"
pytest-benchmark = "*"
pytest-randomly = "*"
pytest-cov = "*"
pyyaml = "*"
ruff = "*"
tomli = "*"
[tool.poetry.group.docs.dependencies]
pyyaml = "*"
sphinx = "*"
myst-parser = "*"
sphinx-autoapi = "*"
sphinx-rtd-theme = "*"
[build-system]
requires = ["poetry-core>=2.0.1"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
filterwarnings = [
"error",
"ignore:You are encoding a BooleanParameterType:UserWarning"
]
# Note: Ruff uses the "nearest" configuration file at runtime so configurations may be overridden
[tool.ruff]
line-length = 120
extend-include = [
"space_packet_parser/**/*.py",
"examples/**/*.py",
"tests/**/*.py"
]
extend-exclude = []
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort import sorting
"S", # flake8-bandit security
"PT", # flake8-pytest-style
"UP" # pyupgrade syntax upgrader
]
per-file-ignores = { "tests/*" = ["S"] }