eoyilmaz / displaycal-py3

DisplayCAL Modernization Project
https://eoyilmaz.github.io/displaycal-py3/
GNU General Public License v3.0
696 stars 55 forks source link

macos: error finding beep.wav while py2app #376

Open MStraeten opened 2 weeks ago

MStraeten commented 2 weeks ago

python setup.py py2app fails with message

copying file LICENSE.txt -> /Users/martinstraeten/src/displaycal-py3/dist/py2app.macosx-11.0-arm64-py3.1/DisplayCAL-3.9.12/DisplayCAL.app/Contents/Resources/./LICENSE.txt
copying file dist/net.displaycal.DisplayCAL.appdata.xml -> /Users/martinstraeten/src/displaycal-py3/dist/py2app.macosx-11.0-arm64-py3.1/DisplayCAL-3.9.12/DisplayCAL.app/Contents/Resources/metainfo/net.displaycal.DisplayCAL.appdata.xml
copying file beep.wav -> /Users/martinstraeten/src/displaycal-py3/dist/py2app.macosx-11.0-arm64-py3.1/DisplayCAL-3.9.12/DisplayCAL.app/Contents/Resources/./beep.wav
error: [Errno 2] beep.wav: 'No such file or directory'

where's this file expected to be copied from? it's available find ./ -type f -name beep.wav returns

.//dist/py2app.macosx-11.0-arm64-py3.1/DisplayCAL-3.9.12/DisplayCAL.app/Contents/Resources/lib/python3.12/DisplayCAL/beep.wav
.//DisplayCAL/beep.wav
.//.venv/lib/python3.12/site-packages/DisplayCAL/beep.wav

used branch: origin/develop

eoyilmaz commented 2 weeks ago

It is available under .//DisplayCAL/beep.wav. But... I'm not sure if py2app module is going to work properly. I was preparing to get concentrated on the pyinstaller library for building packages, it seems much reasonable as it will be possible to use a single configuration and build for Windows, Linux and MacOS.

lukas-remis commented 1 week ago

I have never, ever found a software realeased as source to be compilling properly. Please release some installer or .deb/AppImage package. Thank you!