On Thu, May 28, 2009 at 10:34 AM, John Hunter <jdh2...@gmail.com> wrote:
> On Thu, May 28, 2009 at 9:25 AM, John Hunter <jdh2...@gmail.com> wrote:
>> On Thu, May 28, 2009 at 9:06 AM, John Hunter <jdh2...@gmail.com> wrote:
>>> On Thu, May 28, 2009 at 8:57 AM, Charlie Moad <cwm...@gmail.com> wrote:
>>>> Another note.  I ran into problems when trying to create the build in
>>>> a directory that had spaces.  (e.g. C:\Documents and Settings\....).
>>>> Try running everything in a top level dir.
>>>
>>> That's not it -- I avoid spaces like the plague.
>>>
>>> I am now getting a "cannot exec 'cc1plus'" error when I try and build
>>> mpl itself (zlib, png, freetype and tcltl built fine).  I can do::
>>>
>>>  > gcc --version
>>>
>>> but not::
>>>
>>>  > g++ --version
>>>
>>> Did you install something extra for g++ -- I installed mingw 5.1.4,
>>> MSYS and wget as instructed....)
>>
>> Never mind -- just reran the mingw-5.1.4.exe installer and it prompted
>> me for additional compilers.  I selected g++ and now I have it
>
> Now I am hitting a missing setuptools import from setupwinegg.py.
> Apparently python2.6 doesn't come with setuptools on windows (Is this
> expected?  It surprised me, I thought setuptools was supposed to be a
> standard....)
>
> Anyhow, a quick google takes me to
>
> http://www.python-forum.org/pythonforum/viewtopic.php?f=15&t=10175
>
> which suggests
>
> 1. Download setuptools-0.6c9.tar.gz
> 2. Download setuptools-0.6c9-py2.6.egg to a folder(directory) outside
> your Windows Python installation folder
> 3. Use 7-zip to extract ez_setup.py in the same folder as
> setuptools-0.6c9-py2.6.egg
> 4. Go to the corresponding dos prompt and run python ez_setup.py
> setuptools-0.6c9-py2.6.egg from the command prompt
> 5. Ensure that your PATH includes the appropriate C:\Python2X\Scripts 
> directory
>
> Is this really the path of least resistance?  Whatever happened to the
> easy in ez_setup....

I think setuptools should be a requirement in the same way numpy is.

The latest "ez_setup.py" script has 2.6 included.
http://peak.telecommunity.com/dist/ez_setup.py

You should be able to do the normal, "python ez_setup.py"

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to