Re: override python interpreter when building pex using pants

2014-12-02 Thread Kevin Sweeney
I don't believe this is possible until https://issues.apache.org/jira/browse/AURORA-358 is complete. On Tue, Dec 2, 2014 at 10:23 AM, Brian Wickman wrote: > You can use ./pants build -i to build with a > specific interpreter, but it will still revert to a #!/usr/bin/env > pythonX.X hashbang li

Re: override python interpreter when building pex using pants

2014-12-02 Thread Brian Wickman
You can use ./pants build -i to build with a specific interpreter, but it will still revert to a #!/usr/bin/env pythonX.X hashbang line. There is not yet a pants environment variable to switch interpreters at runtime but it would be a straightforward feature to add. I've filed https://github.co

override python interpreter when building pex using pants

2014-12-02 Thread Bhuvan Arumugam
It's more of pants/pex question. I've installed python2.7 in a custom path. I want to build aurora_client using this interpreter. By default, it use python2.7 in the PATH (#!/usr/bin/env python2.7). How do I change it to use python2.7 in custom path? pex support this feature with --interpreter opt