Skip to content

Commit

Permalink
Enables compiled python files for non sdl2 bootstraps (webview and se…
Browse files Browse the repository at this point in the history
…rvice_only)

Or we will not be able to use our apk because we will not have the necessary compiled files (.pyc/.pyo)
  • Loading branch information
opacam committed Jan 20, 2019
1 parent a49a453 commit 36217d8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pythonforandroid/bootstraps/common/build/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,6 @@ def compile_dir(dfn, optimize_python=True):
Compile *.py in directory `dfn` to *.pyo
'''

if get_bootstrap_name() != "sdl2":
# HISTORICALLY DISABLED for other than sdl2. NEEDS REVIEW! -JonasT
return
if PYTHON is None:
return

Expand Down

0 comments on commit 36217d8

Please sign in to comment.