-
Notifications
You must be signed in to change notification settings - Fork 6
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
Fork relocatable-python for native packaging #5
Comments
On utilzing the relocatable-python for native packaging, it successfully creates the python framework object for the target version till 3.9.9 [Listed here] To check if the framework is universal or not, run the universal script in terminal ./python_universal_tester.sh 3.x.x [enter python version] It produces the following output: Using Python 3.9.9
90 libraries (*.so and *.dylib) found in the framework; only 0 are universal!
.
.
.
Python.framework/Versions/3.9.9/Resources/Python.app/Contents/MacOS/Python is not universal!
Python.framework/Versions/Current/Python is not universal!
Python.framework/Versions/Current/bin/python3.9.9 is not universal! The above issues arise due since the current Python framework is not built as a universal binary, which means it only supports a single architecture. This poses a problem as our users may be using different architectures, and we want our framework to be compatible with all of them. The following issues have been identified:
To address these issues and build a universal Python framework, the following can be potential solutions:
By following these steps, we can create a universal Python framework that is compatible with multiple architectures and can be used by a wider range of users. |
This has been partially solved towards a more general solution, I am going to close this issue for now: metacall/brew-pkg#4 |
@viferga to package natively for macOS, we need to fork and maintain our own relocatable Python, this repo : https://github.com/gregneagle/relocatable-python
Also merging these two PRs :
The text was updated successfully, but these errors were encountered: