The package released in https://pypi.org/project/ThorlabsPM100/ seems to be broken.
The source distribution imports the module itself in setup.py, so it is not possible to build with pip. The only way to build the module is to use the legacy method python setup.py bdist_wheel, which is not used by modern build frontends.
The available solutions here would be to:
- make sure
setup.py does not import ThorlabsPM100, define the version and description in some other way (pyproject.toml etc)
- upload a binary distribution to pypi.
- add the current directory to
sys.path in setup.py (please don't do this)
The package released in https://pypi.org/project/ThorlabsPM100/ seems to be broken.
The source distribution imports the module itself in
setup.py, so it is not possible to build withpip. The only way to build the module is to use the legacy methodpython setup.py bdist_wheel, which is not used by modern build frontends.The available solutions here would be to:
setup.pydoes not importThorlabsPM100, define the version and description in some other way (pyproject.toml etc)sys.pathinsetup.py(please don't do this)