diff --git a/pyproject.toml b/pyproject.toml index 8ad0d5db7..bf4fbe2e7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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+" } @@ -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] diff --git a/requirements.txt b/requirements.txt index 53e1bc3aa..2856b5cef 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 diff --git a/test/requirements.txt b/test/requirements.txt index 9a510b6cf..2dac5eed5 100644 --- a/test/requirements.txt +++ b/test/requirements.txt @@ -2,4 +2,5 @@ PyAutoGUI pytest pytest-cov pytest-timeout -xmlrunner; python_version < "3.12" \ No newline at end of file +python-can +xmlrunner; python_version < "3.12" diff --git a/tox.ini b/tox.ini index 14b0e84bc..dab255af9 100644 --- a/tox.ini +++ b/tox.ini @@ -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 @@ -49,9 +50,9 @@ extras = decode encryption export - export_matlab_v5 + export-matlab-v5 gui - symbolic_math + symbolic-math commands = pyinstaller asammdf.spec {posargs}