Skip to content

Fixing the error 'optional_dependencies'->'optional-dependencies', also...

Andrey Sheshukov requested to merge ash/bug/Fix_optional_dependencies into main

I made a mistake in !18 (merged), so the optional dependencies didn't work.

Fixing the error 'optional_dependencies'->'optional-dependencies', also extending dependencies a bit


UPD: How to test this:

  1. make a new virtual environment
python -m venv venv_test && source venv_test/bin/activate
  1. install the ntsim (assuming you're inside the repository directory):
pip install .

this shouldn't try installing and compiling nudisxs

  1. install the ntsim with nupropagator:
pip install '.[nupropagator]'

this should additionally try to install nudisxs

  1. install the gui libraries
pip install '.[gui]'

this should install also "pyqtgraph","PyOpenGL", "PyQt5","matplotlib" 5) delete the virtual env:

rm -rf venv_test
Edited by Andrey Sheshukov

Merge request reports

Loading