I'm thinking setuptools should allow you to specify that one or more C
extensions in a project are optional.
At minimum, there would then be a command-line option you could give to
easy_install to say, "don't build any optional extensions", so if you don't
have a compiler or need a cross-platform egg, you can skip those extensions.
There would also need to be a way to specify this when using the regular
This feature would address projects that include optional C versions of
certain code, that can fall back to pure Python implementations.
It would not address projects that have C extensions requiring external
libraries that might or might not exist. (Such as Twisted, for instance,
but Twisted falls into the category of projects requiring "extreme
measures" to be supported anyway.)
I'm not able to install parallel version 0.2.1, although it is visible
and accessible from PyPI. What can be the cause?
Going here works: http://python.org/pypi/parallel/0.2.1 .
Doing this doesn't:
$ easy_install parallel==0.2.1
Searching for parallel==0.2.1
No local packages or download links found for parallel==0.2.1
error: Could not find suitable distribution for
I'm using setuptools 0.6c5 on Python 2.4 (which I've learned by
browsing easy_install source code; IMHO easy_install should support
I was trying to install yolk with
c:\python25\python -m easy_install yolk
(on Windows, as you can see).
A yolk.py script is installed in c:\Python25\Scripts, but between each source line
there is an empty line. In other words, line feeds are doubled each time.
This leads to syntax errors because continuation lines don't work any longer.
It seems easy_install gets the newlines wrong.
PS: This is not the first time I had strange problems with Scripts in distributions
installed by easy_install, but it is the first time I'm reporting it.
I have built a matplotlib installer for OS X, using setupegg.py:
python setupegg.py config -L../staticlibs build bdist_mpkg
However, when I import the module after installing, I get the follwing:
ImportError: No module named matplotlib.pylab
The problem appears to be that the module's __init__.py is not included in
the package; when I do a standard install using setup.py, the file is copied
over as it should be. Another oddity is that this only happens on my Intel
Mac; it seems to work fine on PPC.
Any advice on this is appreciated.
Chris Fonnesbeck + Atlanta, GA + http://trichech.us