|
|
|
|
|
by mattikus
3968 days ago
|
|
How are you hosting the wheels internally? Are you still using an internal pypi instance but with wheels instead of sdists? I've been looking at doing something similar in our environment but there's so many options I haven't figured out what the best and most straightforward way might be. |
|
Usage is as simple as
which will automatically build and upload those wheels for your current architecture and dump them into mybucket.mycorp.co. It builds a pip-compatible index, too, so you can just tell pip to search your wheelhouse first before falling back to PyPI: If you need to build for several OSes, you can run mkwheelhouse against the same bucket from each OS.The downside of this approach is you can't host private packages, because you need to enable public website hosting. (Although, VPC endpoints might have changed this!) But the simplicity of this approach plus the massive speedup of not needing to constantly recompile scipy was totally worth it.
[0]: https://github.com/whoopinc/mkwheelhouse