Skip to content

Commit

Permalink
Merge pull request kivy#334 from FeralBytes/symlink_error_venv
Browse files Browse the repository at this point in the history
Add warning and description for P4A in a venv...
  • Loading branch information
tito committed Mar 13, 2015
2 parents 977966b + 48eb508 commit 5a9d605
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/source/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,13 @@ must:
lib-dynload/_sqlite3.so

Then sqlite3 will be compiled and included in your APK.

Too many levels of symbolic links
-----------------------------------------------------

Python for Android does not work within a virtual enviroment. The Python for
Android directory must be outside of the virtual enviroment prior to running

./distribute.sh -m "kivy"

or else you may encounter OSError: [Errno 40] Too many levels of symbolic links.
3 changes: 3 additions & 0 deletions docs/source/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ If you want to compile the toolchain with only the kivy module::

./distribute.sh -m "kivy"

.. warning::
Do not run the above command from `within a virtual enviroment <../faq/#too-many-levels-of-symbolic-links>`_.

After a long time, you'll get a "dist/default" directory containing
all the compiled libraries and a build.py script to package your
application using thoses libraries.
Expand Down

0 comments on commit 5a9d605

Please sign in to comment.