brainiak icon indicating copy to clipboard operation
brainiak copied to clipboard

Blocked: dev: Publish Python wheels

Open mihaic opened this issue 7 years ago • 10 comments

mihaic avatar Oct 30 '17 22:10 mihaic

See the Matplotlib setup: https://github.com/MacPython/matplotlib-wheels#how-it-works

[Edit 2017-10-30] They really use that repo, although it is hosted by a different organization: http://matplotlib.org/devel/release_guide.html#building-binaries

mihaic avatar Oct 30 '17 22:10 mihaic

This looks like a popular option

danielsuo avatar Nov 16 '17 14:11 danielsuo

cibuildwheel seems too simple to believe. If you want to try it and it works, I'm all for it!

mihaic avatar Nov 16 '17 17:11 mihaic

Ignore earlier commit. I'll check it out tomorrow during the long meeting :)

danielsuo avatar Nov 16 '17 22:11 danielsuo

Building wheels is OK, but installing in virtual environments with compiled code not so much.

cibuildwheel is doing something really simple: for each OS / version of python, install dependencies, build wheel, inject / repair shared library paths (via auditwheel and delocate for Linux and MacOS, respectively).

However, these library paths get messed up once you try to install the wheel in a virtual environment. We'll need to investigate this more thoroughly.

danielsuo avatar Nov 17 '17 22:11 danielsuo

A longer discussion of the issue here

danielsuo avatar Nov 17 '17 22:11 danielsuo

FYI: work in progress in pull request #314

danielsuo avatar Dec 13 '17 23:12 danielsuo

This issues is blocked by the lack of MPI4PY wheels.

mihaic avatar Mar 19 '18 18:03 mihaic

Is this still an issue we want to keep open?

danielsuo avatar Mar 19 '18 18:03 danielsuo

I think so. PyPI is still the best way to distribute Python code and wheels are easiest to use, so we should keep an eye out for possible solutions.

mihaic avatar Mar 19 '18 18:03 mihaic