- add the following file
SITEPKGS = "/mnt/sdcard/com.googlecode.pythonforandroid/extras/python/site-packages"
to your py4a folder, probably
although you may find your external (or internal) storage at either
/storage/sdcard0 or /storage/sdcard1change the SITEPKGS external storage mount too!
This file should add your site-packages folder to your python path. test it by running the interpreter, import sys, and checking sys.path. do you see it now?
- download the source tarball
- untar the source
- find the folder that contains the package you want to import and copy it to your site-packages folder
- try to import it and then try to use it. does it work?
I've done this successfully with both dulwich, which has pure python versions of all C extensions, and paramiko which requires pycrypto which you can download and install via py4a.