Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jun 2012 15:00:24 GMT
From:      Volodymyr Kostyrko <c.kworr@gmail.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/168980: devel/py-distribute fails to install some files
Message-ID:  <201206121500.q5CF0Oiv064061@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/168980; it has been noted by GNATS.

From: Volodymyr Kostyrko <c.kworr@gmail.com>
To: bug-followup@FreeBSD.org, c.kworr@gmail.com
Cc:  
Subject: Re: ports/168980: devel/py-distribute fails to install some files
Date: Tue, 12 Jun 2012 17:54:22 +0300

 Maybe I was too fast about that one as creating new jail without python 
 and installing port there works.
 
 However after switching from py-setuptools to py-distribute on one 
 machine I finished with following:
 
 # python -c 'import setuptools'
 Traceback (most recent call last):
    File "<string>", line 1, in <module>
 ImportError: No module named setuptools
 
 # cat /usr/local/lib/python2.7/site-packages/easy-install.pth
 import sys; sys.__plen = len(sys.path)
 ./setuptools-0.6c11-py2.7.egg
 ./PyYAML-3.10-py2.7-freebsd-9.0-STABLE-amd64.egg
 ./PyAMF-0.6.1-py2.7-freebsd-9.0-STABLE-amd64.egg
 ./Pyrseas-0.5.0-py2.7.egg
 import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; 
 p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = 
 p+len(new)
 
 And this is just after py-distribute was installed.
 
 After cleaning environment I can't reproduce this issue anymore. However 
 if easy-install.pth is already poisoned with link to setuptools `make 
 deinstall reinstall clean` in /usr/ports/devel/py-distribute doesn't 
 change anything.
 
 Don't know is this really an error and should it be fixed or not, but if 
 anytime soon switch from setuptools to distribute will happen this one 
 can cause little havok.
 
 -- 
 Sphinx of black quartz judge my vow.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206121500.q5CF0Oiv064061>