diff options
author | Matthew Hodgson <matthew@matrix.org> | 2015-11-01 13:05:51 +0000 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2015-11-01 13:05:51 +0000 |
commit | 28622db92f006b27b25dcaf6d06eb7b0e69c8687 (patch) | |
tree | 71f3fe79282e664dd84cbd308cdd3b4c17351d9d | |
parent | 22f370c5cdb9ba0b2c6be85948e31d0daf8122d5 (diff) |
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.
-rwxr-xr-x | build_shared_library.py | 2 | ||||
-rwxr-xr-x | javascript/build.py | 2 | ||||
-rwxr-xr-x | lib/curve25519-donna/python-src/curve25519/test/test_curve25519.py | 2 | ||||
-rwxr-xr-x | lib/curve25519-donna/python-src/curve25519/test/test_speed.py | 2 | ||||
-rwxr-xr-x | lib/curve25519-donna/setup.py | 2 | ||||
-rwxr-xr-x | python/olm.py | 2 | ||||
-rwxr-xr-x | test.py | 2 | ||||
-rwxr-xr-x | tracing/graph.py | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/build_shared_library.py b/build_shared_library.py index 1eb8675..ed8f93f 100755 --- a/build_shared_library.py +++ b/build_shared_library.py @@ -1,4 +1,4 @@ -#! /usr/bin/python +#! /usr/bin/env python # Copyright 2015 OpenMarket Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/javascript/build.py b/javascript/build.py index 9766906..722a8b9 100755 --- a/javascript/build.py +++ b/javascript/build.py @@ -1,4 +1,4 @@ -#! /usr/bin/python +#! /usr/bin/env python # Copyright 2015 OpenMarket Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); 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 diff --git a/python/olm.py b/python/olm.py index 4bd85f0..b048844 100755 --- a/python/olm.py +++ b/python/olm.py @@ -1,4 +1,4 @@ -#! /usr/bin/python +#! /usr/bin/env python from ctypes import * import json import os @@ -1,4 +1,4 @@ -#! /usr/bin/python +#! /usr/bin/env python # Copyright 2015 OpenMarket Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/tracing/graph.py b/tracing/graph.py index ac121aa..aa51b6a 100755 --- a/tracing/graph.py +++ b/tracing/graph.py @@ -1,4 +1,4 @@ -#! /usr/bin/python +#! /usr/bin/env python import sys import yaml |