Benjamin Staffin

Results 65 comments of Benjamin Staffin

I guess we're still waiting for bazelbuild/bazel#2791 to get merged...

I agree that would be nice - the challenge lies in keeping all the wheels/eggs/setuptools-stuff dependencies available. We could make a script wrapper that sets PEX_PATH to have pex get...

Aye, it's true. Sorry I forgot to say as much when you opened this issue, because I spent a while figuring it out last fall. Let's keep this issue open...

https://github.com/benley/bazel_rules_pex/pull/35 should fix this when bazel's support is ready

Pong! Sorry for letting this languish, I will try to spend some time on it in the next few days.

via zigdon, https://gist.github.com/3353718 I'm going to make it configurable.

Interesting - I don't think I have encountered that particular error yet. Does it happen while building a particular package, or is it seemingly random?

I just saw this error for the first time! ``` ERROR: /Users/bstaffin/fb/provisioning/autograf/BUILD:18:1: null failed: pex_wrapper.pex failed: error executing command bazel-out/local-fastbuild/genfiles/external/io_bazel_rules_pex/pex/pex_wrapper.pex --find-links external/requests_wheel/file --pex-root .pex --entry-point autograf.editor --output-file ... (remaining 4...

This is very similar to what the `main` attribute does, but cleaner. How would you feel about changing the behavior of `main` so that acts like your new `script` attribute...

Cross-compilation support would be very nice to have, indeed! I'm not certain but I think it would be difficult to implement today, because of the current lack of python support...