[pypy-dev] How to add 3rd part libraries to sanboxed environment

kracekumar ramaraju kracethekingmaker at gmail.com
Mon Feb 13 04:41:24 CET 2012


Hi
 I am running pypy-1.8 sandboxed one, i created file named `name.py` in
current working directory and importing `name.py`,  as expected it should
fail since sandboxed environment runs on its own file system. sys.path
yields
 ['', '/bin/lib_pypy/__extensions__', '/bin/lib_pypy',
'/bin/lib-python/modified-2.7', '/bin/lib-python/2.7',
'/bin/lib-python/modified-2.7/lib-tk', '/bin/lib-python/2.7/lib-tk',
'/bin/lib-python/2.7/plat-linux2'],

os.getcwd() yields /tmp, so how can I install third party packages in the
environment, Class package installation will fail I am not wrong.

How to proceed further ?
-- 
*
Thanks & Regards

"Talk is cheap, show me the code" -- Linus Torvalds
kracekumar
www.kracekumar.com
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20120213/0617d092/attachment.html>


More information about the pypy-dev mailing list