-
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
Package a swi-prolog binary with the binary wheels #14
Comments
Thanks for the heads up and suggestion. Considered? Sort of 😄 There are many possible installation targets though and it is hard to me to judge the value and costs of all the alternatives. I've spent some time turning SWI-Prolog into an (ana)conda package. It sort of works with some limitations and getting it all setup and distributed seems a lot of work. Binary wheels also come with their issues on the various platforms. I have very limited understanding of the Python binary package management. If people want to set this up, I'm happy to help from the Prolog side. I heard some rumours that the wheel could also download and install the regular binary? Do you have any insight in that? |
I'm not an expert myself, but I have a bit of experience in compiling external dependencies for binary wheels. We can make use of cibuildwheel and the Github-hosted runners to build the binary for basically all common platform. Is there a way to build SWI Prolog with minimal dependencies? |
Configure using I'm still a bit in doubt on how good an idea this is as it results in a quite crippled SWI-Prolog version. Possibly a better choice is to select all packages that do not pull in new dependencies. That can be done using If you can get this working (even without any packages), I'm happy to jump in and try to add some more functionality. |
I'll try to get a minimal case working in a fork, I'll update here when I've made some progress. |
Which files from the build directory need to be included? |
You need to run |
Hi
Thank you for your work on Janus and SWI-Prolog in general.
I was wondering if you had considered packaging a (minimal) binary of SWI-Prolog along with the binary distributions of this package. This would greatly simplify the installation procedure (especially for other projects that have janus_swi as a dependency), and I would imagine this could also boost the popularity of SWI-Prolog as an easy to install package along all platforms.
Kind regards,
Robin Manhaeve
The text was updated successfully, but these errors were encountered: