Skip to content

Commit

Permalink
fix: tox does not install extras with underscores in their name
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienGrv committed Jan 30, 2025
1 parent 1a5163c commit ce15ed6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 29 deletions.
29 changes: 5 additions & 24 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build"

[project]
name = "asammdf"
description="ASAM MDF measurement data file parser"
description = "ASAM MDF measurement data file parser"
readme = "README.md"
requires-python = ">=3.9"
license = { text = "LGPLv3+" }
Expand Down Expand Up @@ -47,30 +47,11 @@ dependencies = [

[project.optional-dependencies]
decode = ["faust-cchardet==2.1.19", "chardet"]
export = [
"pyarrow",
"h5py",
"hdf5storage>=0.1.19",
"python-snappy",
"polars",
]
testing = [
"h5py",
"pyarrow",
"python-can",
"scipy",
]
export_matlab_v5 = ["scipy"]
gui = [
"natsort",
"PySide6",
"pyqtgraph",
"pyqtlet2",
"packaging",
"QtPy",
]
export = ["pyarrow", "h5py", "hdf5storage>=0.1.19", "python-snappy", "polars"]
export-matlab-v5 = ["scipy"]
gui = ["natsort", "PySide6", "pyqtgraph", "pyqtlet2", "packaging", "QtPy"]
encryption = ["cryptography", "keyring"]
symbolic_math = ["sympy"]
symbolic-math = ["sympy"]
filesystem = ["fsspec"]

[project.scripts]
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Development dependencies
--editable .[decode,encryption,export,export_matlab_v5,filesystem,gui,symbolic_math]
--editable .[decode,encryption,export,export-matlab-v5,filesystem,gui,symbolic-math]
--requirement benchmarks/requirements.txt
--requirement ci/requirements.txt
--requirement doc/requirements.txt
Expand Down
3 changes: 2 additions & 1 deletion test/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ PyAutoGUI
pytest
pytest-cov
pytest-timeout
xmlrunner; python_version < "3.12"
python-can
xmlrunner; python_version < "3.12"
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ envlist = py39, py310, py311, py312, py313, black, ruff, doc
deps =
--requirement test/requirements.txt
extras =
export
export-matlab-v5
gui
testing
passenv = DISPLAY,XAUTHORITY
setenv =
DISPLAY = :0
Expand Down Expand Up @@ -49,9 +50,9 @@ extras =
decode
encryption
export
export_matlab_v5
export-matlab-v5
gui
symbolic_math
symbolic-math
commands =
pyinstaller asammdf.spec {posargs}

Expand Down

0 comments on commit ce15ed6

Please sign in to comment.