A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-December/123338.html below:

[Python-Dev] PYTHONPATH processing change from 2.6 to 2.7 and Mac bundle builder problems

[Python-Dev] PYTHONPATH processing change from 2.6 to 2.7 and Mac bundle builder problems [Python-Dev] PYTHONPATH processing change from 2.6 to 2.7 and Mac bundle builder problemsAntoine Pitrou solipsis at pitrou.net
Fri Dec 28 23:30:16 CET 2012
On Fri, 28 Dec 2012 21:39:56 +0000
Barry Scott <barry at barrys-emacs.org> wrote:
> I'm trying to track down why bundlebuilder no longer works with python 2.7
> to create runnable Mac OS X apps.
> 
> I have got as far as seeing that imports of modules are failing.
> 
> What I see is that sys.path does not contain all the elements from the
> PYTHONPATH variable.
> 
> No matter what I put in PYTHONPATH only the first element is in sys.path.

I can't reproduce under Linux:

$ PYTHONPATH=/x:/y python -Sc "import sys; print(sys.path)"
['', '/x', '/y', '/usr/lib/python27.zip', '/usr/lib64/python2.7/',
'/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk',
'/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload']


Regards

Antoine.


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4