Open wimglenn opened 2 hours ago
Maybe!
I do not believe the official Python.org installers are relocatable, however. For example, if I do otool -L /Library/Frameworks/Python.framework/Python
, I don't see @rpath
entries, just absolute paths. This is why projects like https://github.com/gregneagle/relocatable-python exist.
I vaguely recall some interest from python.org in doing this, but I can't dig up any references now. If this is possible, I'm happy to add to MOPUp to make it happen.
Yeah, seems like it's well out scope for MOPUp to attempt rpath rewriting and stuff. I'm using indygreg/python-build-standalone in the meantime.
Maybe it would make sense for MOPUp to provide an option to install from there, if they're proper relocatable framework builds?
Personally, I don't think so. It would be reinventing what uv python install
already does, except that MOPUp itself would need to find/get an existing Python runtime to use and uv
doesn't.
I've used MOPUp on my personal machine where I can enter admin password without issue. Works great.
Is it possible to use on a regular user account (installing to different prefix) without privilege? If so, could you please add instructions in the landing page, if not could you please mention that an administrator password is required.
Thanks!