Page 1 of 1

How do I include python files in Android distributions?

Posted: Fri Apr 01, 2016 2:57 pm
by denzil
I have some python files in game/tools directory. In normal (Windows, Linux, Mac) distributions, they are correctly included. But when I try to build for Android, the files are skipped and the game doesn't work.

I tried to include them using:
build.classify("**.py", "all")
in options.rpy (and few variants. But that doesn't seem to have any effect.
Anyone has idea how to fix this?

Re: How do I include python files in Android distributions?

Posted: Fri Apr 01, 2016 10:05 pm
by PyTom
Go into rapt and edit blacklist.txt.

EDIT: Also, make sure the files are placed in the game directory.

Re: How do I include python files in Android distributions?

Posted: Sat Apr 02, 2016 12:59 am
by denzil
Thanks a lot, I got it working now. (:

Re: How do I include python files in Android distributions?

Posted: Sat Apr 02, 2016 1:28 pm
by PyTom
What fixed it?