-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
package for mac/windows #102
Comments
it worked: pyenv install 3.8 alias brew86="arch -x86_64 /usr/local/bin/brew"' brew86 install openssl readline sqlite3 xz zlib then I tried pyenv install 3.8 and it picked the right version for me, now it's building for me |
WARNING: The scripts pip3 and pip3.8 are installed in '/Users/raidraptorultimatefalcon/.pyenv/versions/3.8.16/bin' which is not on PATH. |
plan: install homebrew, update homebrew, install pyenv, update pyenv, then install reqs for pip as in above links? |
went to python 3.8.16, still need to think about how to install mediapipe somehow... |
new plan, follow the link above and only use 86 64 stuff: |
/usr/local/Cellar/pyenv/2.3.16/bin/pyenv |
let's try with 86 poetry: /usr/local/cellar/pyenv/2.3.16/bin/pyenv |
raidraptorultimatefalcon@Roberts-Air ~ % source .zshrc raidraptorultimatefalcon@Roberts-Air fastcvapp % brew xcode-select --install |
use pathex in pyinstaller |
mac has smth weird going on. i think it uses the cwd for everything, so to build, you build from basedir and run the spec file whereas windows u go to examples dir and build it |
python -m PyInstaller --onefile --name BacksubMAC --add-data "FastCVApp.py:." examples/example_backgroundsubtraction.py |
https://stackoverflow.com/a/54845170 |
https://stackoverflow.com/questions/62451711/pyinstaller-icon-option-doesnt-work-on-mac --osx-bundle-identifier 'YOUR_IDENTIFIER' |
so packaging to mac works, just need to say that you need to add the file directly. the problem i had is my target was down 1 level and I couldn't figure out how to add it no1 on windows/mac, no2 to work from both running from examples file and from exe no3 with log/no log |
pyinstaller/pyinstaller#3275 |
before uploading, make sure:
The text was updated successfully, but these errors were encountered: