[NumPy-Tickets] [NumPy] #1857: Pip install into virtualenv doesn't work

NumPy Trac numpy-tickets@scipy....
Tue Aug 2 12:26:17 CDT 2011

#1857: Pip install into virtualenv doesn't work
 Reporter:  rgommers           |       Owner:  rgommers   
     Type:  defect             |      Status:  new        
 Priority:  normal             |   Milestone:  Unscheduled
Component:  numpy.distutils    |     Version:  1.6.0      
 Keywords:  pip, easy_install  |  

Comment(by rgommers):

 This works with my local checkout and doing "pip install -e .". In that
 way {{{--egg-base}}} is not in sys.argv though. How did you test that?

 Can you also explain what these lines do?
         if '--egg-base' in sys.argv:
             idx = sys.argv.index('--egg-base')
             sys.argv[idx + 1] = os.path.join(local_path, 'pip-egg-info')

 I also didn't find a reliable way to detect whether the install is being
 driven by pip unfortunately.

Ticket URL: <http://projects.scipy.org/numpy/ticket/1857#comment:16>
NumPy <http://projects.scipy.org/numpy>
My example project

More information about the NumPy-Tickets mailing list