python3
This commit is contained in:
parent
4a0b6742f9
commit
eda66969b1
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ EXCLUDE_EXTS = (".py", ".pyc", ".so.o", ".so.a", ".so.libs", ".pyx")
|
||||||
class LbryBootstrap(Bootstrap):
|
class LbryBootstrap(Bootstrap):
|
||||||
name = 'lbry'
|
name = 'lbry'
|
||||||
|
|
||||||
recipe_depends = ['genericndkbuild', ('python2', 'python3crystax')]
|
recipe_depends = ['genericndkbuild', ('python3', 'python3crystax')]
|
||||||
|
|
||||||
def run_distribute(self):
|
def run_distribute(self):
|
||||||
info_main("# Creating Android project ({})".format(self.name))
|
info_main("# Creating Android project ({})".format(self.name))
|
||||||
|
|
|
@ -574,7 +574,7 @@ tools directory of the Android SDK.
|
||||||
# Hardcoding python2.7 is okay for now, as python3 skips the
|
# Hardcoding python2.7 is okay for now, as python3 skips the
|
||||||
# compilation anyway
|
# compilation anyway
|
||||||
if not exists('crystax_python'):
|
if not exists('crystax_python'):
|
||||||
python_executable = 'python2.7'
|
python_executable = 'python3'
|
||||||
try:
|
try:
|
||||||
subprocess.call([python_executable, '--version'])
|
subprocess.call([python_executable, '--version'])
|
||||||
except (OSError, subprocess.CalledProcessError):
|
except (OSError, subprocess.CalledProcessError):
|
||||||
|
|
Loading…
Reference in a new issue