Retrieving distribution for py2.6 returns (incompatible) py3 trunk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
waferslim |
New
|
Undecided
|
Unassigned |
Bug Description
Using Buildout to wrap setuptools to obtain pypi packages ordinarily downloads correct versions for the python interpreter that was used. When running buildout under python2.6, waferslim 1.0.2 is retrieved and labelled as waferslim-
File "d:\dev\
import codecs, logging.config, os, socketserver, sys
ImportError: No module named socketserver
This is because in python 2.x, the socketserver module is called SocketServer.
Workaround is to download the zipped source from pypi and make an egg locally, using 2.6. This does however prevent simple use of buildout and setuptools with pypi.
Thanks Tim :)
Would like more information: Buildout is retrieving the python3 source not the python2 source.
Oddly, the Cheese Shop has an egg for 2.6 (at http:// pypi.python. org/packages/ 2.6/w/waferslim /waferslim- 1.0.2-py2. 6.egg) which I would have hoped Buildout could easily find.