-
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
SaxonC 12.1 pypi packaging help #4
Comments
Hi @ond1,
As for Manylinux, I use the docker image and wheels in the container I think. I also used the Github Workflows to automate the process so please check those files as well. We can't expect the running system has any preinstalled libs so we need to move libjvm into the same dir we created earlier. Programs like AuditWheel and Desolate will do some parts but we need to do manually the rest. Remember to change the lib paths for Mac and Linux, otherwise, it will still complain of missing libs. |
Do you change the lib paths for Mac and Linux within the PyPI package which get set in there install process? Or is something you do manually after running 'pip install' |
No manual setup after installing the package. It should work out of the box as any pip package. They have to be changed before you build. If you check the GitHub workflows file, you will see Mac's 'install_name_tool' which does that precisely. For Linux, there was a generic way to make the dir as lib path, I think.
…________________________________
From: ond1 ***@***.***>
Sent: Friday, October 14, 2022 1:40:17 PM
To: tennom/saxonpy ***@***.***>
Cc: Tennom ***@***.***>; Mention ***@***.***>
Subject: Re: [tennom/saxonpy] SaxonC 12.1 pypi packaging help (Issue #4)
Do you change the lib paths for Mac and Linux within the PyPI package which get set in there install process? Or is something you do manually after running 'pip install'
—
Reply to this email directly, view it on GitHub<#4 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACCVVBBZJWP2YMXGBHHQSODWDDW4DANCNFSM6AAAAAAREEOBRI>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Great thanks. |
Hi @tennom
I have used your ideas from this project to try and build a pypi wheel package for SaxonC 12.1, which uses a graalvm shared library. I am struggling a bit with how to link the shared library into the wheel. Also I would like to get some pointers as to how you use manylinux to build the wheels for different python version. Is it possible we can discuss this please?
The text was updated successfully, but these errors were encountered: