On 24. Oct, 2010, at 6:02 , Tyler Roscoe wrote:
> On Sun, Oct 24, 2010 at 04:35:45AM +0200, Michael Hertling wrote:
>> On 10/24/2010 01:26 AM, Bill Spotz wrote:
>>> #! ${PYTHON_EXECUTABLE}
>
> Michael posted what I assume is a fantastic CMake solution :). Another
> approach you might consider is to use:
>
> #!/usr/vin/env python
>
> which works out of the box on many Linuxes/Unices.
>
> tylerUnless you want to use a specific Python version/installation. Of course, the user could use VirtualEnv and modify the PATH environment variable accordingly, but that's a bit roundabout... Michael -- There is always a well-known solution to every human problem -- neat, plausible, and wrong. H. L. Mencken
PGP.sig
Description: This is a digitally signed message part
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
