Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[moved] pyo files are not being recreated by ./build.py in python for android #216

Closed
AphonicChaos opened this issue Mar 14, 2014 · 2 comments

Comments

@AphonicChaos
Copy link

moved from kivy/kivy

originally reported by @blissGitHub:

I wrote the app on desktop and tested it.
It worked fine.
So I then compiled it through the ubuntu vm provided by kivy.
Initially the pyo files were created.  After I realised that the code changes I've been making is not     
being applied in p4a, I decided to delete the pyo files.
After that I did the ./distribute.sh -m "kivy" and then did the ./build.py....
this time however the .pyo files were not recreated and eventually I found out that my apk crashes.
So I had to manually create it through:
"python -O -m compileall /path/to/files"

Then ran ./build.py  again....this time it worked......
@AphonicChaos
Copy link
Author

I'll have to create a minimal project in order to test this. I'll be busy today, but I'll look into it on Saturday if no one else gets around to it.

@inclement
Copy link
Member

I haven't seen this come up again, so I'll close as probably fixed. Please raise it again if it recurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants