1
0
mirror of https://github.com/craigerl/aprsd.git synced 2026-04-04 22:25:31 -04:00

moved optional deps into pyproject.toml

This commit is contained in:
Walter Boring 2026-01-21 15:53:27 -05:00
parent f7e4c47715
commit d783a01400
3 changed files with 29 additions and 74 deletions

View File

@ -20,7 +20,7 @@ description = "APRSd is a APRS-IS server that can be used to connect to APRS-IS
# https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires
requires-python = ">=3.11"
dynamic = ["version", "dependencies", "optional-dependencies"]
dynamic = ["version", "dependencies"]
# This is an optional longer description of your project that represents
# the body of text which users will see when they visit PyPI.
@ -103,9 +103,6 @@ classifiers = [
# https://packaging.python.org/discussions/install-requires-vs-requirements/
[tool.setuptools.dynamic]
dependencies = {file = ["./requirements.txt"]}
optional-dependencies.dev = {file = ["./requirements-dev.txt"]}
optional-dependencies.tests = {file = ["./requirements-tests.txt"]}
optional-dependencies.type = {file = ["./requirements-type.txt"]}
# List additional groups of dependencies here (e.g. development
# dependencies). Users will be able to install these using the "extras"
@ -116,7 +113,34 @@ optional-dependencies.type = {file = ["./requirements-type.txt"]}
# Optional dependencies the project provides. These are commonly
# referred to as "extras". For a more extensive definition see:
# https://packaging.python.org/en/latest/specifications/dependency-specifiers/#extras
# [project.optional-dependencies]
[project.optional-dependencies]
dev = [
"build",
"pip",
"pip-tools",
"pre-commit",
"pre-commit-uv>=4.1.1",
"tox",
"tox-uv",
"wheel",
"pytest",
"pytest-cov",
"ruff",
"mypy",
"types-pytz",
"types-requests",
"types-tzlocal",
]
tests = [
"pytest",
"pytest-cov",
]
type = [
"mypy",
"types-pytz",
"types-requests",
"types-tzlocal",
]
# List URLs that are relevant to your project
#

View File

@ -1,26 +0,0 @@
build
pip
pip-tools
pre-commit
pre-commit-uv>=4.1.1
tox
tox-uv
wheel
# Testing
pytest
pytest-cov
# Linting and formatting
ruff
# Type checking
mypy
types-pytz
types-requests
types-tzlocal
# Twine is used for uploading packages to pypi
# but it induces an install of cryptography
# This is sucky for rpi systems.
# twine

View File

@ -1,43 +0,0 @@
# This file was autogenerated by uv via the following command:
# uv pip compile --resolver backtracking --annotation-style=line requirements-dev.in -o requirements-dev.txt
build==1.3.0 # via pip-tools, -r requirements-dev.in
cachetools==6.2.4 # via tox
cfgv==3.5.0 # via pre-commit
chardet==5.2.0 # via tox
click==8.3.1 # via pip-tools
colorama==0.4.6 # via tox
coverage==7.13.1 # via pytest-cov
distlib==0.4.0 # via virtualenv
filelock==3.20.0 # via tox, virtualenv
identify==2.6.15 # via pre-commit
iniconfig==2.3.0 # via pytest
librt==0.7.8 # via mypy
mypy==1.19.1 # via -r requirements-dev.in
mypy-extensions==1.1.0 # via mypy
nodeenv==1.9.1 # via pre-commit
packaging==25.0 # via build, pyproject-api, pytest, tox, tox-uv
pathspec==1.0.3 # via mypy
pip==25.3 # via pip-tools, -r requirements-dev.in
pip-tools==7.5.2 # via -r requirements-dev.in
platformdirs==4.5.1 # via tox, virtualenv
pluggy==1.6.0 # via pytest, pytest-cov, tox
pre-commit==4.5.0 # via pre-commit-uv, -r requirements-dev.in
pre-commit-uv==4.2.0 # via -r requirements-dev.in
pygments==2.19.2 # via pytest
pyproject-api==1.10.0 # via tox
pyproject-hooks==1.2.0 # via build, pip-tools
pytest==9.0.2 # via pytest-cov, -r requirements-dev.in
pytest-cov==7.0.0 # via -r requirements-dev.in
pyyaml==6.0.3 # via pre-commit
ruff==0.14.13 # via -r requirements-dev.in
setuptools==80.9.0 # via pip-tools
tox==4.32.0 # via tox-uv, -r requirements-dev.in
tox-uv==1.29.0 # via -r requirements-dev.in
types-pytz==2025.2.0.20251108 # via types-tzlocal, -r requirements-dev.in
types-requests==2.32.4.20260107 # via -r requirements-dev.in
types-tzlocal==5.1.0.1 # via -r requirements-dev.in
typing-extensions==4.15.0 # via mypy
urllib3==2.6.2 # via types-requests
uv==0.9.26 # via pre-commit-uv, tox-uv
virtualenv==20.35.4 # via pre-commit, tox
wheel==0.45.1 # via pip-tools, -r requirements-dev.in