~exarkun/game/network-client-virtualenv-friendly

Viewing all changes in revision 51.

  • Committer: Jean-Paul Calderone
  • Date: 2014-10-19 19:36:40 UTC
  • Revision ID: exarkun@twistedmatrix.com-20141019193640-56a6u44la4yi39q5
Use /usr/bin/env to find python in the PATH.

This is preferred over hardcoding the typical location of /usr/bin/python because
it means the correct interpreter will be found when the script is installed in a
virtualenv (meaning the script will operate correctly in a virtualenv, whereas
previously it would not).

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: