From 28622db92f006b27b25dcaf6d06eb7b0e69c8687 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Sun, 1 Nov 2015 13:05:51 +0000 Subject: switch from /usr/bin/python to /usr/bin/env python. this doesn't help folks whose python path points at python3 (e.g. Arch linux) though, but I see no choice than they have to change the shebangs, as we do on Synapse. For instance, OSX doesn't have a python2 symlink, otherwise we'd use /usr/bin/env python2 shebang. --- lib/curve25519-donna/python-src/curve25519/test/test_curve25519.py | 2 +- lib/curve25519-donna/python-src/curve25519/test/test_speed.py | 2 +- lib/curve25519-donna/setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/curve25519-donna') diff --git a/lib/curve25519-donna/python-src/curve25519/test/test_curve25519.py b/lib/curve25519-donna/python-src/curve25519/test/test_curve25519.py index 2ecbd47..b3a5447 100755 --- a/lib/curve25519-donna/python-src/curve25519/test/test_curve25519.py +++ b/lib/curve25519-donna/python-src/curve25519/test/test_curve25519.py @@ -1,4 +1,4 @@ -#! /usr/bin/python +#! /usr/bin/env python import unittest diff --git a/lib/curve25519-donna/python-src/curve25519/test/test_speed.py b/lib/curve25519-donna/python-src/curve25519/test/test_speed.py index 87952fa..4d7e0c8 100755 --- a/lib/curve25519-donna/python-src/curve25519/test/test_speed.py +++ b/lib/curve25519-donna/python-src/curve25519/test/test_speed.py @@ -1,4 +1,4 @@ -#! /usr/bin/python +#! /usr/bin/env python from time import time from curve25519 import Private diff --git a/lib/curve25519-donna/setup.py b/lib/curve25519-donna/setup.py index dc1b8eb..df5cbfd 100755 --- a/lib/curve25519-donna/setup.py +++ b/lib/curve25519-donna/setup.py @@ -1,4 +1,4 @@ -#! /usr/bin/python +#! /usr/bin/env python from subprocess import Popen, PIPE from distutils.core import setup, Extension -- cgit v1.2.3