Skip to content
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

Issues with relative path to the interpreter #233

Open
finnhewes opened this issue Sep 5, 2022 · 1 comment
Open

Issues with relative path to the interpreter #233

finnhewes opened this issue Sep 5, 2022 · 1 comment

Comments

@finnhewes
Copy link

finnhewes commented Sep 5, 2022

Platypus now supports a relative path to the interpreter, which means that in theory you can include a static binary in bundled files and call it directly.

Originally posted by @sveinbjornt in #211 (comment)

I'm working on a small project I want to distribute to my non-tech savvy dad and have him be able to click and run without having to configure, update, or install anything outside of the app. I've tried a number of ways of bundling the interpreter and referencing it (inside of a venv, inside of a bin folder (tried this both inside and outside of a venv), as an alias file, and as a static binary) and can't seem to get anything working.

Platypus detects the interpreter within my bundled files in the setup GUI, and wraps it into the application's contents, but whenever I try to run the app, a missing interpreter error appears.

This may not be an issue with Platypus itself, but it is directly related to the functionality I can expect from apps I wrap in Platypus, so I thought that posting it here could possibly lead to a discussion that's helpful for others too! I searched through closed issues and found the reference above, but I still couldn't iron out the kinks on my end. Any ideas?

@footlooseboss
Copy link

(assuming Python) might help: gregneagle/relocatable-python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants