mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-22 07:57:39 +00:00
f-strings need Python 3.6
...this is a blocker for F-Droid since Debian Strech has only Python 3.5.x
This commit is contained in:
parent
1f5267204b
commit
9826640ae6
4
build.py
4
build.py
@ -19,8 +19,8 @@ def vprint(str):
|
|||||||
print(str)
|
print(str)
|
||||||
|
|
||||||
# Environment checks
|
# Environment checks
|
||||||
if not sys.version_info >= (3, 5):
|
if not sys.version_info >= (3, 6):
|
||||||
error('Requires Python 3.5+')
|
error('Requires Python 3.6+')
|
||||||
|
|
||||||
if 'ANDROID_HOME' not in os.environ:
|
if 'ANDROID_HOME' not in os.environ:
|
||||||
error('Please add Android SDK path to ANDROID_HOME environment variable!')
|
error('Please add Android SDK path to ANDROID_HOME environment variable!')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user