David-OConnor / pyflow

An installation and dependency system for Python
MIT License
1.33k stars 44 forks source link

Suggestion: Publish prebuilt wheels on PyPI #22

Closed frostming closed 5 years ago

frostming commented 5 years ago

It would be great if users can install pyflow with pip. It can be done by publishing a prebuilt binary wheel on PyPI for every OS arch. I am not familiar with this task but setuptools-rust may be helpful.

David-OConnor commented 5 years ago

I didn't realize this was possible, but would be a nice addition - looking into it now. (Also WIP on getting this on snap, but need classic confinement)

David-OConnor commented 5 years ago

A Windows wheel is now available via pip install pflow. Built using maturin, which is a cfg-free variant of setuptools-rust.

Currently unable to build a proper linux wheel due to issues with OpenSSL linking (ie auditwheel is failing the wheel due to not meeting the manylinux spec) - which may indicate a broader linux compatibility problem.

I suspect this is solvable by vendorizing openSSl, but am not sure how to do this currently.

David-OConnor commented 5 years ago

Figured out how to vendorize openSSl by modifying the features of the reqwest dependency; now need to find out how to do the same for liblzma

David-OConnor commented 5 years ago

Now works for Win and Linux.