Name: issues-1751
Owner: Pants Build
Description: This repo sketches out a minimal solution to https://github.com/pantsbuild/pants/issues/1751
Created: 2015-07-07 20:30:55.0
Updated: 2015-07-07 20:34:18.0
Pushed: 2015-07-10 05:15:51.0
Homepage: null
Size: 22564
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This repo sketches out a minimal solution to https://github.com/pantsbuild/pants/issues/1751
To try the solution out you can run the following:
t clone https://github.com/pantsbuild/issues-1751.git && \
issues-1751 && \
create-prebuilts.sh && \
pants binary //:test && \
dist/test.pex
This will cone the example repo, create a set of pre-built distributions for various problematic numpy ecosystem packages, and then build and “run” a binary that imports from several packages.
Note that this example includes checked-in source distributions for simplicity / locality in one example project. In practice you'd want to store the source distributions and the built distributions in a seperate location that was accessible to all folks checking out your project. Popular choices are various webservers that can serve up the (in this example) prebuilts/dist
directory.