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.

logging_enabled
Matthew Hodgson 2015-11-01 13:05:51 +00:00
parent 22f370c5cd
commit 28622db92f
8 changed files with 8 additions and 8 deletions

View File

@ -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");

View File

@ -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");

View File

@ -1,4 +1,4 @@
#! /usr/bin/python
#! /usr/bin/env python
import unittest

View File

@ -1,4 +1,4 @@
#! /usr/bin/python
#! /usr/bin/env python
from time import time
from curve25519 import Private

View File

@ -1,4 +1,4 @@
#! /usr/bin/python
#! /usr/bin/env python
from subprocess import Popen, PIPE
from distutils.core import setup, Extension

View File

@ -1,4 +1,4 @@
#! /usr/bin/python
#! /usr/bin/env python
from ctypes import *
import json
import os

View File

@ -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");

View File

@ -1,4 +1,4 @@
#! /usr/bin/python
#! /usr/bin/env python
import sys
import yaml