When I follow the install instructions in the README the software is not able to run on my system. I had to do this additional steps to actual get the gui:
- Do a
pip install -r QuDAP/requirements.txt (because python tries to import PySide in instructions.py before the os call for pip install is run)
cd into the QuDAP directory
- I needed to manually install
pyvisa-py
- Change the version check to
version == "11" here
|
if version == "10" and build_number >= 22000: |
While I could mediate these issues which can easily be fixed, I additionally think that the dependency management should be handled differently.
pip install should not be called on every start, because this could impact the software functionality in unforseen ways when packages are updated/changed. This would not be transparent to the user. Additonally, it is an unecesarry start overhead.
- The list of dependencies should be specified in
pyproject.toml
- There should be a frozen list of dependencies to reproduce the dev environment. This can be generated with, e.g.,
pip-compile or uv. Maybe the hatchling build system has something similar, however, I'm not experienced with it so I can only recommend the other tools.
When I follow the install instructions in the README the software is not able to run on my system. I had to do this additional steps to actual get the gui:
pip install -r QuDAP/requirements.txt(because python tries to importPySideininstructions.pybefore the os call forpip installis run)cdinto theQuDAPdirectorypyvisa-pyversion == "11"hereQuDAP/QuDAP/GUI/VSM/VSM.py
Line 18 in 237c244
While I could mediate these issues which can easily be fixed, I additionally think that the dependency management should be handled differently.
pip installshould not be called on every start, because this could impact the software functionality in unforseen ways when packages are updated/changed. This would not be transparent to the user. Additonally, it is an unecesarry start overhead.pyproject.tomlpip-compileoruv. Maybe the hatchling build system has something similar, however, I'm not experienced with it so I can only recommend the other tools.