Explicitly using python2 to prevent errors on py3-default systems
This commit is contained in:
parent
6c9bc43bbb
commit
e7ec942256
|
@ -1,4 +1,4 @@
|
|||
add_custom_target(format-diff
|
||||
COMMAND python ${CMAKE_SOURCE_DIR}/dist/format.py)
|
||||
COMMAND python2 ${CMAKE_SOURCE_DIR}/dist/format.py)
|
||||
add_custom_target(format
|
||||
COMMAND python ${CMAKE_SOURCE_DIR}/dist/format.py -i)
|
||||
COMMAND python2 ${CMAKE_SOURCE_DIR}/dist/format.py -i)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python
|
||||
#!/usr/bin/python2
|
||||
# Emulates the behaviour of codesign --deep which is missing on OS X < 10.9
|
||||
|
||||
import os
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python
|
||||
#!/usr/bin/python2
|
||||
|
||||
from subprocess import *
|
||||
from sys import *
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python
|
||||
#!/usr/bin/python2
|
||||
#
|
||||
# Copyright (c) 2009 Google Inc. All rights reserved.
|
||||
#
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python2
|
||||
import argparse
|
||||
import difflib
|
||||
import os
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python
|
||||
#!/usr/bin/python2
|
||||
|
||||
# This file is part of Clementine.
|
||||
#
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/python2
|
||||
import codecs
|
||||
import glob
|
||||
import logging
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/python2
|
||||
import rpm
|
||||
import subprocess
|
||||
|
||||
|
|
Loading…
Reference in New Issue