You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This causes a syntax error if the original first line started with a from __future__ import statement, e.g.:
from __future__ importdivision
SyntaxError: ('from __future__ imports must occur at the beginning of the file', ('/home/ian/life/.buildozer/android/app/main.py', 2, None, 'from __future__ import division\n'))
The text was updated successfully, but these errors were encountered:
As discussed, that's indeed an issue, and the correct solution in the current context is non-trivial, would be better to change how the packages are added, maybe adding the content of _applibs to the shipped pythonpackages?
The method
_patch_application_sources
inbuildozer/__init__.py
prepends main.py with:This causes a syntax error if the original first line started with a
from __future__ import
statement, e.g.:The text was updated successfully, but these errors were encountered: