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

NumPy Trac numpy-tickets@scipy....
Fri Jun 3 10:17:00 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):

 So in summary:

   1. There's a bug in {{{Configuration.__init__}}} where
 {{{dirname(abspath(nonexistingfile))}}} gives curdir.

   2. The bug in (1) happens to work out well in combination with the
 {{{os.chdir}}} call in the main setup.py.

   3. Once we correct for this so that the bug from (1) does not affect
 install under pip + virtualenv, we run into another issue due to both
 numpy.distutils and pip messing with {{{__file__}}} in ugly and
 incompatible ways.

 I think I'll give up for now.

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

More information about the NumPy-Tickets mailing list