WasatchPhotonics / ENLIGHTEN

Open-source spectroscopy application for controlling and taking measurements from Wasatch Photonics spectrometers.
https://wasatchphotonics.com/product-category/software/
MIT License
3 stars 6 forks source link

bootstrap pyinstaller fails: invalid add_data_or_binary value #325

Closed samiebee43 closed 10 months ago

samiebee43 commented 10 months ago

Problem

Using the following to create an installer

scripts\bootstrap.bat pyinstaller

yields the following error

pyinstaller: error: argument --add-data: invalid add_data_or_binary value: 'support_files/libusb_drivers/amd64/libusb0.dll:.'
samiebee43 commented 10 months ago

The pyinstaller arguments added in https://github.com/WasatchPhotonics/ENLIGHTEN/commit/21737f8 don't seem to work on my machine

mzieg commented 10 months ago

I'm using pyinstaller 6.0.0

samiebee43 commented 10 months ago

Upgrading to 6+ works.

pip install --upgrade pyinstaller