Changes between Initial Version and Version 3 of Ticket #45819


Ignore:
Timestamp:
Nov 8, 2014, 3:05:11 PM (10 years ago)
Author:
larryv (Lawrence Velázquez)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #45819

    • Property Cc petr@… added
    • Property Owner changed from macports-tickets@… to larryv@…
    • Property Status changed from new to assigned
  • Ticket #45819 – Description

    initial v3  
    11I used the following script to print a list of module search paths:
    2 
     2{{{
    33#!/usr/bin/env python
    44
     
    88    if not i.startswith('/Users'):
    99        print i
     10}}}
    1011
    1112The result from the py27-virtualenv version of python is as follows:
    12 
     13{{{
    1314/private/tmp
    1415/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
     
    1718/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac
    1819/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages
     20}}}
    1921
    2022The result from the python27 is as follows:
    21 
     23{{{
    2224/private/tmp
    2325/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip
     
    3032/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload
    3133/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
     34}}}
    3235
    3336As you can see, there are a lot of paths missing in the virtualenv version resulting in preventing the use of python modules installed via macports in conjunction with virtualenv.