[pology] Python version identification in pology.

Javier Viñal fjvinal at gmail.com
Thu Jan 17 13:40:15 PST 2013


    I am using currently Arch Linux that ships python 3 by default as
python system version. The distribution also includes python 2 for legacy

    I have the problem that all pology python scripts begin with the line:

    #!/usr/bin/env python

     In order to work properly in Arch Linux, it should be:

      #!/usr/bin/env python2

      I have done the change in my system with:

      perl -p -i -e 's/\/usr\/bin\/env\ python/\/usr\/bin\/env\ python2/'
`find pology -name *.py`

      Now pology works fine without any changes in my system configuration.

      I would like to know if this change could be done in the main pology

Regards: Javier.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nedohodnik.net/pipermail/pology-nedohodnik.net/attachments/20130117/38d3ceb7/attachment.htm>

More information about the pology mailing list