"setup.py install" skips zope/interface/common/
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zope.interface |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
After installing the 3.6.1 release from PyPI, the zope.interface.
exarkun@
exarkun@
exarkun@
/usr/
....
exarkun@
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: cannot import name common
exarkun@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jean-Paul Calderone wrote: common boson:~ /Downloads$ tar xzf zope.interface- 3.6.1.tar. gz boson:~ /Downloads$ cd zope.interface- 3.6.1/ boson:~ /Downloads/ zope.interface- 3.6.1$ python setup.py install --quiet --prefix /tmp/ZOPE-TEST python2. 6/distutils/ dist.py: 266: UserWarning: Unknown distribution option: 'test_suite' boson:~ /Downloads/ zope.interface- 3.6.1$ PYTHONPATH= /tmp/ZOPE- TEST/ python -c 'from zope.interface import common' boson:~ /Downloads/ zope.interface- 3.6.1$
> Public bug reported:
>
> After installing the 3.6.1 release from PyPI, the zope.interface.
> package is not available:
>
>
> exarkun@
> exarkun@
> exarkun@
> /usr/lib/
> ....
> exarkun@
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> ImportError: cannot import name common
> exarkun@
>
> ** Affects: zope.interface
> Importance: Undecided
> Status: New
status incomplete
Hmm, this seems to be true only when installing without setuptools:
$ /opt/Python- 2.6.5/bin/ virtualenv --no-site-packages /tmp/lp_611362 611362/ bin/python ....... ....done. 611362/ bin/easy_ install zope.interface pypi.python. org/simple/ zope.interface/ pypi.python. org/packages/ source/ z/zope. interface/ zope.interface- 3.6.1.tar. gz#md5= 7a895181b8d10be 4a7e9a3afa13cd3 be 3.6.1.tar. gz 3.6.1/setup. py -q bdist_egg --dist-dir install- 5jIMKN/ zope.interface- 3.6.1/egg- dist-tmp- 0LR2wv
New python executable in /tmp/lp_
Installing setuptools.
[/home/tseaver]
$ /tmp/lp_
Searching for zope.interface
Reading http://
Best match: zope.interface 3.6.1
Downloading
http://
Processing zope.interface-
Running zope.interface-
/tmp/easy_
Adding zope.interface 3.6.1 to easy-install.pth file
Installed 611362/ lib/python2. 6/site- packages/ zope.interface- 3.6.1-py2. 6-linux- i686.egg 611362/ bin/python common __file_ _ lp_611362/ lib/python2. 6/site- packages/ zope.interface- 3.6.1-py2. 6-linux- i686.egg/ zope/interface/ __init_ _.pyc' common. __file_ _ lp_611362/ lib/python2. 6/site- packages/ zope.interface- 3.6.1-py2. 6-linux- i686.egg/ zope/interface/ common/ __init_ _.pyc'
/tmp/lp_
Processing dependencies for zope.interface
Finished processing dependencies for zope.interface
[/home/tseaver]
$ /tmp/lp_
Python 2.6.5 (r265:79063, Apr 6 2010, 14:45:18)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import zope.interface
>>> import zope.interface.
>>> zope.interface.
'/tmp/
>>> zope.interface.
'/tmp/
- -- ======= ======= ======= ======= ======= ======= ======= ======= ==== palladion. com enigmail. mozdev. org
=======
Tres Seaver +1 540-429-0999 <email address hidden>
Palladion Software "Excellence by Design" http://
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkx Rwh0ACgkQ+ gerLs4ltQ7PXACb BF+9OYH0zLULrO4 mUouXk7sj eZvmaTJALfrK7Yd rz
37wAni0PxrOqvCA
=ldyh
-----END PGP SIGNATURE-----