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)
|
||||
|
2
dist/codesign.py
vendored
2
dist/codesign.py
vendored
@ -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
|
||||
|
2
dist/copyright.py
vendored
2
dist/copyright.py
vendored
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/python2
|
||||
|
||||
from subprocess import *
|
||||
from sys import *
|
||||
|
2
dist/cpplint.py
vendored
2
dist/cpplint.py
vendored
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/python2
|
||||
#
|
||||
# Copyright (c) 2009 Google Inc. All rights reserved.
|
||||
#
|
||||
|
2
dist/format.py
vendored
2
dist/format.py
vendored
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python2
|
||||
import argparse
|
||||
import difflib
|
||||
import os
|
||||
|
2
dist/macdeploy.py
vendored
2
dist/macdeploy.py
vendored
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/python2
|
||||
|
||||
# This file is part of Clementine.
|
||||
#
|
||||
|
1
dist/update_desktop_languages.py
vendored
1
dist/update_desktop_languages.py
vendored
@ -1,3 +1,4 @@
|
||||
#!/usr/bin/python2
|
||||
import codecs
|
||||
import glob
|
||||
import logging
|
||||
|
1
dist/versionnumbers.py
vendored
1
dist/versionnumbers.py
vendored
@ -1,3 +1,4 @@
|
||||
#!/usr/bin/python2
|
||||
import rpm
|
||||
import subprocess
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user