SourceForge logo
SourceForge logo
Menu

matplotlib-devel — matplotlib developers

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
(1)
Nov
(33)
Dec
(20)
2004 Jan
(7)
Feb
(44)
Mar
(51)
Apr
(43)
May
(43)
Jun
(36)
Jul
(61)
Aug
(44)
Sep
(25)
Oct
(82)
Nov
(97)
Dec
(47)
2005 Jan
(77)
Feb
(143)
Mar
(42)
Apr
(31)
May
(93)
Jun
(93)
Jul
(35)
Aug
(78)
Sep
(56)
Oct
(44)
Nov
(72)
Dec
(75)
2006 Jan
(116)
Feb
(99)
Mar
(181)
Apr
(171)
May
(112)
Jun
(86)
Jul
(91)
Aug
(111)
Sep
(77)
Oct
(72)
Nov
(57)
Dec
(51)
2007 Jan
(64)
Feb
(116)
Mar
(70)
Apr
(74)
May
(53)
Jun
(40)
Jul
(519)
Aug
(151)
Sep
(132)
Oct
(74)
Nov
(282)
Dec
(190)
2008 Jan
(141)
Feb
(67)
Mar
(69)
Apr
(96)
May
(227)
Jun
(404)
Jul
(399)
Aug
(96)
Sep
(120)
Oct
(205)
Nov
(126)
Dec
(261)
2009 Jan
(136)
Feb
(136)
Mar
(119)
Apr
(124)
May
(155)
Jun
(98)
Jul
(136)
Aug
(292)
Sep
(174)
Oct
(126)
Nov
(126)
Dec
(79)
2010 Jan
(109)
Feb
(83)
Mar
(139)
Apr
(91)
May
(79)
Jun
(164)
Jul
(184)
Aug
(146)
Sep
(163)
Oct
(128)
Nov
(70)
Dec
(73)
2011 Jan
(235)
Feb
(165)
Mar
(147)
Apr
(86)
May
(74)
Jun
(118)
Jul
(65)
Aug
(75)
Sep
(162)
Oct
(94)
Nov
(48)
Dec
(44)
2012 Jan
(49)
Feb
(40)
Mar
(88)
Apr
(35)
May
(52)
Jun
(69)
Jul
(90)
Aug
(123)
Sep
(112)
Oct
(120)
Nov
(105)
Dec
(116)
2013 Jan
(76)
Feb
(26)
Mar
(78)
Apr
(43)
May
(61)
Jun
(53)
Jul
(147)
Aug
(85)
Sep
(83)
Oct
(122)
Nov
(18)
Dec
(27)
2014 Jan
(58)
Feb
(25)
Mar
(49)
Apr
(17)
May
(29)
Jun
(39)
Jul
(53)
Aug
(52)
Sep
(35)
Oct
(47)
Nov
(110)
Dec
(27)
2015 Jan
(50)
Feb
(93)
Mar
(96)
Apr
(30)
May
(55)
Jun
(83)
Jul
(44)
Aug
(8)
Sep
(5)
Oct
Nov
(1)
Dec
(1)
2016 Jan
Feb
Mar
(1)
Apr
May
Jun
(2)
Jul
Aug
(3)
Sep
(1)
Oct
(3)
Nov
Dec
2017 Jan
Feb
(5)
Mar
Apr
May
Jun
Jul
(3)
Aug
Sep
(7)
Oct
Nov
Dec
2018 Jan
Feb
Mar
Apr
May
Jun
Jul
(2)
Aug
Sep
Oct
Nov
Dec
S M T W T F S

1
(7)
2
(15)
3
(6)
4
(13)
5
(5)
6
(2)
7
(8)
8
(23)
9
(1)
10
(11)
11
(20)
12
(33)
13
(18)
14
(16)
15
(11)
16
(25)
17
(25)
18
(3)
19
(8)
20
21
22
(4)
23
24
(2)
25
26
(1)
27
28
29
(2)
30
(1)
31
(1)



Showing 16 results of 16

From: Gael V. <gae...@no...> - 2008年12月14日 21:13:08
On Sun, Dec 14, 2008 at 07:30:19AM -0800, fraka6 wrote:
> I have experienced the same problem with easy_install on ubuntu-8.4.10 but
> it is working with aptitude, so I have done :
> sudo aptitude install python-matplotlib
Yes, but unfortunately, not every OS has a good packaging system like
apt-get/aptitude (and this is actually the reason I use Ubuntu, but
people should be free to choose their OS).
Gaël
From: John H. <jd...@gm...> - 2008年12月14日 21:13:02
On Sun, Dec 14, 2008 at 8:31 PM, Michael Abshoff
<mab...@go...> wrote:
> Slightly OT: What is the preferred way to submit bug fixes? The sf
> tracker? I have two tiny build fixes for 0.98.3 (that also apply to
Even though it's not a FAQ, we have a FAQ entry for it :-)
 http://matplotlib.sourceforge.net/faq/howto_faq.html#submit-a-patch
JDH
From: John H. <jd...@gm...> - 2008年12月14日 21:05:41
On Sun, Dec 14, 2008 at 7:46 PM, Sandro Tosi <mat...@gm...> wrote:
> Well, what I'm actually asking is: can I use any matplotlibrc file (be
> it from any location in the tarball or forged during build process) or
> the one in doc/mpl_data has something specific to documentation that
> needs to be preserved.
In svn, doc/mpl_data is just a symlink to lib/matplotlib/mpl-data
 http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/trunk/matplotlib/doc/mpl_data?view=markup
Apparently symlinks are lost in building an sdist, and doc/mpl_data
becomes a copy. So in the actual src, the rc files are not just
identical in the two locations, they are the same file. It makes the
most sense for the users to see in the docs the default rc file they
are getting with your actual install.
From: Michael A. <mab...@go...> - 2008年12月14日 19:31:21
On Sun, Dec 14, 2008 at 10:55 AM, Darren Dale <dsd...@gm...> wrote:
> On Sun, Dec 14, 2008 at 1:28 PM, Michael Abshoff <mab...@go...>
> wrote:
>> On Sun, Dec 14, 2008 at 10:22 AM, Darren Dale <dsd...@gm...> wrote:
>> > On Sun, Dec 14, 2008 at 12:24 PM, Charlie Moad <cw...@gm...> wrote:
Hi,
<SNIP>
>> The express edition can only produce 32 bit binaries, but I guess this
>> is better than nothing.
>
> According to wikipedia
> (http://en.wikipedia.org/wiki/Microsoft_Visual_Studio_Express) :
>
> "natively compiling 64-bit applications through the IDE is not supported. If
> the freely available Windows SDK is installed, 64-bit applications can be
> built on the command line using the x64 cross-compiler (Cl.exe) supplied
> with the SDK." The documentation at python.org does not indicate whether or
> not it is possible to cross-compile with the express edition if the Windows
> SDK is installed
> (http://docs.python.org/distutils/builtdist.html#cross-compiling-on-windows)
Ok, I didn't know that. There is also some movement with the 64 bit
MinGW port, so hopefully in 2009 one might see a stable release there,
too.
>>
>> > I the past
>> > I have built and distributed extension modules built with mingw32 on
>> > windows
>> > XP, but I have not been able to put together a working mingw32/msys on a
>> > 64-bit windows vista machine. This is my only windows computer, so it
>> > looks
>> > like I will only be supporting py2.6 in the near future.
>>
>> Since numpy 1.3 (probably out January 2009) will start supporting
>> python 2.6 and official Python 3k support for numpy is currently
>> anticipated not for a while I would guess Python 3k support is a
>> non-issue for now. OTOH the many Python libraries depending on numpy
>> might make Python 3K support happen sooner.
>
> Last I heard, the numpy folks think py-3 support is at least a year out.
>
Yes, I have seen that figure thrown around on the list last week, too.
The reasoning seems to be that it would take until 2010 until "major"
distributions shipped Py3K, but given the dependency of many libs I
would be surprised if there wasn't enough pressure earlier to get this
fixed. Given that numpy uses the Python C API directly this might be
more work than some people think. In the end it would probably greatly
help if the same codebase could support Python 2.x and Py3K at the
same time, but we will see.
Slightly OT: What is the preferred way to submit bug fixes? The sf
tracker? I have two tiny build fixes for 0.98.3 (that also apply to
0.98.5) that fix the build on FreeBSD 7 and also works around some
tcl/tl detection strangeness. Both patches are one liners to
setupext.py.
Cheers,
Michael
From: Darren D. <dsd...@gm...> - 2008年12月14日 19:11:41
On Sun, Dec 14, 2008 at 1:58 PM, Charlie Moad <cw...@gm...> wrote:
> On Sun, Dec 14, 2008 at 1:22 PM, Darren Dale <dsd...@gm...> wrote:
> > On Sun, Dec 14, 2008 at 12:24 PM, Charlie Moad <cw...@gm...> wrote:
> >>
> >> First of all let me apologize for the problems we have been
> >> seeing with the binaries as of late. Frankly the root of the problem
> >> might be my detachment from the matplotlib source for some time.
> >> Unfortunately due to my time constraints, this won't be changing soon.
> >> I used to think being somewhat on the outside helped me keep the ease
> >> of the build process in check. This gap has apparently grown too
> >> wide.
> >
> > I appreciate that this is a difficult task and that you have plenty of
> other
> > responsibilities, and appreciate your effort. However, I've been trying
> to
> > get to the bottom of why the windows installer is overwriting configobj
> and
> > I could use some feedback from you. I really need to know whether you
> delete
> > the build/ directory before creating a new installer.
>
> I don't have my build directories anymore, but they were made from
> extracting the source release so there was no previous build
> directory. It is possible that I missed those settings in setup.cfg,
> because I do not have either of those module installed.
>
If you did not explicitly disable these modules in setup.cfg, then I think
we understand the problem. Would you please make a note that configobj and
traits should be explicitly disabled in setup.cfg for future releases of the
maintenance branches? It will not be an issue for the trunk.
Thanks,
Darren
From: Darren D. <dsd...@gm...> - 2008年12月14日 19:03:41
On Sun, Dec 14, 2008 at 1:46 PM, Sandro Tosi <mat...@gm...> wrote:
> Hello,
>
> On Sun, Dec 14, 2008 at 17:07, Darren Dale <dsd...@gm...> wrote:
> > On Sun, Dec 14, 2008 at 8:12 AM, Sandro Tosi <mo...@de...> wrote:
> >>
> >> Hello,
> >> while preparing the debian package update for 0.98.5 I went thru a
> >> problem: we remove doc/mpl_data/matplotlibrc because it will be
> >> modified (to change backend (that now is set to MacOSX in the tarball
> >> distributed..?)) and up to now it wasn't used.
> >>
> >> Now, doc/make.py fails because of
> >>
> >> shutil.copy('mpl_data/matplotlibrc', '_static/matplotlibrc')
> >>
> >> So, can we use another 'matplotlibrc' file or the one in doc/mpl_data
> >> has something specific to doc and needs to maintained?
> >
> > The default matplotlibrc file in mpl-data/ is created by setup.py during
> the
> > build process. The default backend is selected according to which gui
> > toolkits are available, and defaults to Agg if no supported toolkit is
> > available. setup.py only selects the macosx backend if the build is being
> > performed on a macosx system. The source tarball is apparently prepared
> on a
> > Mac, but I dont think it matters that the source dist contains this
> > platform-specific backend, since the file will be overwritten with more
> > appropriate settings anyway when you run setup.py build.
> >
> > It would really be best to not remove the file that is created as a
> result
> > of running setup.py build. The mpl documentation suggests users to copy
> this
> > file into their ~/.matplotlib/ or wherever if they want to modify the
> > default properties, and it contains some documentation for each of the
> > settings.
> >
> > On the other hand, if you are running setup.py build and the resulting
> > matplotlibrc file still says the default backend is macosx, and you are
> not
> > running macosx, and you have configured setup.cfg to set some other
> default
> > backend, then it is a bug that needs to be fixed.
>
> Well, what I'm actually asking is: can I use any matplotlibrc file (be
> it from any location in the tarball or forged during build process) or
> the one in doc/mpl_data has something specific to documentation that
> needs to be preserved.
>
> Don't worry, we ship matplotlibrc file (the one built), but I need to
> know if that particular one has something ad-hoc for doc.
>
The rc file in mpl_data does get pulled into the the docs, you can see the
result at http://matplotlib.sourceforge.net/users/customizing.html. But it
does not have to be preserved, like I said, it gets overwritten when you run
setup.py build, with new settings depending on what setup.py determines are
the most appropriate and what settings you insist on having by editing
setup.cfg.
From: Charlie M. <cw...@gm...> - 2008年12月14日 18:58:23
On Sun, Dec 14, 2008 at 1:22 PM, Darren Dale <dsd...@gm...> wrote:
> On Sun, Dec 14, 2008 at 12:24 PM, Charlie Moad <cw...@gm...> wrote:
>>
>> First of all let me apologize for the problems we have been
>> seeing with the binaries as of late. Frankly the root of the problem
>> might be my detachment from the matplotlib source for some time.
>> Unfortunately due to my time constraints, this won't be changing soon.
>> I used to think being somewhat on the outside helped me keep the ease
>> of the build process in check. This gap has apparently grown too
>> wide.
>
> I appreciate that this is a difficult task and that you have plenty of other
> responsibilities, and appreciate your effort. However, I've been trying to
> get to the bottom of why the windows installer is overwriting configobj and
> I could use some feedback from you. I really need to know whether you delete
> the build/ directory before creating a new installer.
I don't have my build directories anymore, but they were made from
extracting the source release so there was no previous build
directory. It is possible that I missed those settings in setup.cfg,
because I do not have either of those module installed.
>
>>
>> Moving ahead, python 2.6 and 3.0 are going to pose new challenges
>> since they require new versions of visual studio I do not have access
>> to.
>
> I think 2.6 and 3.0 were both compiled with Visual C++ 2008, and so the free
> Visual C++ 2008 express can be used to create extension modules. I the past
> I have built and distributed extension modules built with mingw32 on windows
> XP, but I have not been able to put together a working mingw32/msys on a
> 64-bit windows vista machine. This is my only windows computer, so it looks
> like I will only be supporting py2.6 in the near future.
>
Good to know there is a free option.
>>
>> Doing builds for 4 windows versions poses a great time to work on
>> a standard cygwin build setup (not that the cygwin build process
>> doesn't work as is). In addition to that we are going to possibly be
>> seeing osx fat binaries with 4 architectures! I am more than happy to
>> continue to contribute my time to create these builds, but I think it
>> only makes sense to have a release candidate cycle before formally
>> pushing to sourceforge.
>
> What are the four architectures? I'd be willing to get things together on my
> windows install so I can build mpl from source and help test with
> python-2.6. (I know I'm going to regret this.)
>
"32-bit PowerPC, 32-bit x86, 64-bit PowerPC, and 64-bit x86"
http://en.wikipedia.org/wiki/Fat_binary
From: Darren D. <dsd...@gm...> - 2008年12月14日 18:55:53
On Sun, Dec 14, 2008 at 1:28 PM, Michael Abshoff <mab...@go...>wrote:
> On Sun, Dec 14, 2008 at 10:22 AM, Darren Dale <dsd...@gm...> wrote:
> > On Sun, Dec 14, 2008 at 12:24 PM, Charlie Moad <cw...@gm...> wrote:
>
> Hi,
>
> >> First of all let me apologize for the problems we have been
> >> seeing with the binaries as of late. Frankly the root of the problem
> >> might be my detachment from the matplotlib source for some time.
> >> Unfortunately due to my time constraints, this won't be changing soon.
> >> I used to think being somewhat on the outside helped me keep the ease
> >> of the build process in check. This gap has apparently grown too
> >> wide.
> >
> > I appreciate that this is a difficult task and that you have plenty of
> other
> > responsibilities, and appreciate your effort. However, I've been trying
> to
> > get to the bottom of why the windows installer is overwriting configobj
> and
> > I could use some feedback from you. I really need to know whether you
> delete
> > the build/ directory before creating a new installer.
> >
> >>
> >> Moving ahead, python 2.6 and 3.0 are going to pose new challenges
> >> since they require new versions of visual studio I do not have access
> >> to.
> >
> > I think 2.6 and 3.0 were both compiled with Visual C++ 2008, and so the
> free
> > Visual C++ 2008 express can be used to create extension modules.
>
> The express edition can only produce 32 bit binaries, but I guess this
> is better than nothing.
>
According to wikipedia (
http://en.wikipedia.org/wiki/Microsoft_Visual_Studio_Express) :
"natively compiling 64-bit
<http://en.wikipedia.org/wiki/64-bit>applications through the IDE is
not supported. If the freely available Windows
SDK <http://en.wikipedia.org/wiki/Windows_SDK> is installed, 64-bit
applications can be built on the command line using the x64 cross-compiler
(Cl.exe) supplied with the SDK." The documentation at python.org does not
indicate whether or not it is possible to cross-compile with the express
edition if the Windows SDK is installed (
http://docs.python.org/distutils/builtdist.html#cross-compiling-on-windows)
>
> > I the past
> > I have built and distributed extension modules built with mingw32 on
> windows
> > XP, but I have not been able to put together a working mingw32/msys on a
> > 64-bit windows vista machine. This is my only windows computer, so it
> looks
> > like I will only be supporting py2.6 in the near future.
>
> Since numpy 1.3 (probably out January 2009) will start supporting
> python 2.6 and official Python 3k support for numpy is currently
> anticipated not for a while I would guess Python 3k support is a
> non-issue for now. OTOH the many Python libraries depending on numpy
> might make Python 3K support happen sooner.
>
Last I heard, the numpy folks think py-3 support is at least a year out.
From: Sandro T. <mat...@gm...> - 2008年12月14日 18:47:24
Hello,
On Sun, Dec 14, 2008 at 17:07, Darren Dale <dsd...@gm...> wrote:
> On Sun, Dec 14, 2008 at 8:12 AM, Sandro Tosi <mo...@de...> wrote:
>>
>> Hello,
>> while preparing the debian package update for 0.98.5 I went thru a
>> problem: we remove doc/mpl_data/matplotlibrc because it will be
>> modified (to change backend (that now is set to MacOSX in the tarball
>> distributed..?)) and up to now it wasn't used.
>>
>> Now, doc/make.py fails because of
>>
>> shutil.copy('mpl_data/matplotlibrc', '_static/matplotlibrc')
>>
>> So, can we use another 'matplotlibrc' file or the one in doc/mpl_data
>> has something specific to doc and needs to maintained?
>
> The default matplotlibrc file in mpl-data/ is created by setup.py during the
> build process. The default backend is selected according to which gui
> toolkits are available, and defaults to Agg if no supported toolkit is
> available. setup.py only selects the macosx backend if the build is being
> performed on a macosx system. The source tarball is apparently prepared on a
> Mac, but I dont think it matters that the source dist contains this
> platform-specific backend, since the file will be overwritten with more
> appropriate settings anyway when you run setup.py build.
>
> It would really be best to not remove the file that is created as a result
> of running setup.py build. The mpl documentation suggests users to copy this
> file into their ~/.matplotlib/ or wherever if they want to modify the
> default properties, and it contains some documentation for each of the
> settings.
>
> On the other hand, if you are running setup.py build and the resulting
> matplotlibrc file still says the default backend is macosx, and you are not
> running macosx, and you have configured setup.cfg to set some other default
> backend, then it is a bug that needs to be fixed.
Well, what I'm actually asking is: can I use any matplotlibrc file (be
it from any location in the tarball or forged during build process) or
the one in doc/mpl_data has something specific to documentation that
needs to be preserved.
Don't worry, we ship matplotlibrc file (the one built), but I need to
know if that particular one has something ad-hoc for doc.
Thanks,
-- 
Sandro Tosi (aka morph, Morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
From: Darren D. <dsd...@gm...> - 2008年12月14日 18:22:09
On Sun, Dec 14, 2008 at 12:24 PM, Charlie Moad <cw...@gm...> wrote:
> First of all let me apologize for the problems we have been
> seeing with the binaries as of late. Frankly the root of the problem
> might be my detachment from the matplotlib source for some time.
> Unfortunately due to my time constraints, this won't be changing soon.
> I used to think being somewhat on the outside helped me keep the ease
> of the build process in check. This gap has apparently grown too
> wide.
I appreciate that this is a difficult task and that you have plenty of other
responsibilities, and appreciate your effort. However, I've been trying to
get to the bottom of why the windows installer is overwriting configobj and
I could use some feedback from you. I really need to know whether you delete
the build/ directory before creating a new installer.
>
> Moving ahead, python 2.6 and 3.0 are going to pose new challenges
> since they require new versions of visual studio I do not have access
> to.
I think 2.6 and 3.0 were both compiled with Visual C++ 2008, and so the free
Visual C++ 2008 express can be used to create extension modules. I the past
I have built and distributed extension modules built with mingw32 on windows
XP, but I have not been able to put together a working mingw32/msys on a
64-bit windows vista machine. This is my only windows computer, so it looks
like I will only be supporting py2.6 in the near future.
> Doing builds for 4 windows versions poses a great time to work on
> a standard cygwin build setup (not that the cygwin build process
> doesn't work as is). In addition to that we are going to possibly be
> seeing osx fat binaries with 4 architectures! I am more than happy to
> continue to contribute my time to create these builds, but I think it
> only makes sense to have a release candidate cycle before formally
> pushing to sourceforge.
>
What are the four architectures? I'd be willing to get things together on my
windows install so I can build mpl from source and help test with
python-2.6. (I know I'm going to regret this.)
Darren
From: Charlie M. <cw...@gm...> - 2008年12月14日 17:24:18
 First of all let me apologize for the problems we have been
seeing with the binaries as of late. Frankly the root of the problem
might be my detachment from the matplotlib source for some time.
Unfortunately due to my time constraints, this won't be changing soon.
 I used to think being somewhat on the outside helped me keep the ease
of the build process in check. This gap has apparently grown too
wide.
 Moving ahead, python 2.6 and 3.0 are going to pose new challenges
since they require new versions of visual studio I do not have access
to. Doing builds for 4 windows versions poses a great time to work on
a standard cygwin build setup (not that the cygwin build process
doesn't work as is). In addition to that we are going to possibly be
seeing osx fat binaries with 4 architectures! I am more than happy to
continue to contribute my time to create these builds, but I think it
only makes sense to have a release candidate cycle before formally
pushing to sourceforge.
- Charlie
From: John H. <jd...@gm...> - 2008年12月14日 17:14:37
On Sat, Dec 13, 2008 at 3:24 PM, John Hunter <jd...@gm...> wrote:
> I think the src egg approach for os x is hopeless because too many
> people are having problems with architecture on png and zlib
> dependencies, and we don't have a lot of control over this because
> they are getting these dependencies from a variety of providers. I
> think we need a binary installer, eg using bdist_mpkg, with the
> freetype, png and zlib dependencies built in, as we have on windows.
I worked on this yesterday on my flight back from the conference. I
added a dir to the mpl src tree called release/osx that has a Makefile
which has all the logic to fetch the bdist_mpkg (and patch it for
10.5), zlib, png, and freetype dependencies and build them using the
protocol Charlie wrote at
http://ipython.scipy.org/moin/MatplotlibOSXBuildNotes. It has a
custom setup.cfg which is incorporated by the Makefile. In this way,
we can get "1-click" or better yet "1-command" binary mpkg installers
and binary eggs for OS X. I'm including the README below.
We should be able to modify this approach to do the same for win32,
and thus doing releases will become both easier and less error prone.
One thing that was vexing me -- Charlie takes pains to avoid
dynamically linking png and freetype in his instructions, and yet when
I checked _png.so in the egg with ::
 otool -L _png.so
it was pointing to /usr/X11R6/lib/libpng.dylib. I think I figured
this out -- because I had PKG_CONFIG_PATH set in my local environment,
the setupext check_for_libpng was picking it up on my local machine
even though I had built a static libpng to link with for the binry
installer. By unsetting this environment var, I get the static
linkage we are shooting for. Is it possible that you have pkgconfig
on your box Charlie, which is why the dynamic linking was creeping in?
 We need to fix setupext to respect a setup.cfg flag to not use
pkgconfig in certain environments, eg when building installers.
I've uploaded snapshots to
 http://matplotlib.sourceforge.net/snapshots/matplotlib-0.98.5-py2.5-macosx10.5.zip
 and
 http://matplotlib.sourceforge.net/snapshots/matplotlib-0.98.5_r0-py2.5-macosx-10.3-fat.egg
So take a look.
Here is the README from release/osx::
Building binary releases of OS X
Included here is everything to build a binay package installer for OS
X
Dir Contents
-------------
* :file:`bdist_mkpg` - the distutils.extension to build Installer.app
 mpkg installers. It is patched from the tarball with
 file:`data/bdist.patch` because 0.4.3 is broken on OS X 10.5.
 Instructions on how to patch and install are below
* :file:`data` - some config files and patches needed for the build
* :file:`*.tar.gz` - the bdist_mkpg, zlib, png, freetype and mpl
 tarballs
* :file:`Makefile` - all the build commands
How to build
--------------
* You need to make sure to unset PKG_CONFIG_PATH to make sure the
 static linking below is respected. Otherwise the mpl build script
 will dynamically link using the libs from pkgconfig if you have this
 configured on your box::
 unset PKG_CONFIG_PATH
* OPTIONAL: edit :file:`Makefile` so that the *VERSION variables point
 to the latest zlib, png, freetype
* First fetch all the dependencies and patch bdist_mpkg for OSX 10.5.
 You can do this automatically in one step with::
 make fetch_deps
* install the patched bdist_mpkg, that the fetch_deps step just created::
 cd bdist_mpkg-0.4.3
 sudo python setup.py install
* build the dependencies::
 make dependencies
* copy over the latest mpl *.tar.gz tarball to this directory, update
 the MPLVERSION in the Makefile::
 cp /path/to/mpl/matplotlib.0.98.5.tar.gz .
* build the mkpg binary and egg
 make installers
 The mpkg and egg binaries will reside in :file:`matplotlib-VERSION/dist`
From: Charlie M. <cw...@gm...> - 2008年12月14日 16:59:31
 This build should be the same as all the previous. I do them as
I documented on the ipython pages. bdist_mpkg has been flat broke the
times I have tried it. bdist_egg seems pretty helpless too due to
setuptools lack of understanding of osx architectures. Most people
get a successful install, but then setuptools tries to go out and grab
the source anyways. I can't say that I know a good solution for osx.
- Charlie
On Sat, Dec 13, 2008 at 4:31 PM, John Hunter <jd...@gm...> wrote:
> On Sat, Dec 13, 2008 at 3:24 PM, John Hunter <jd...@gm...> wrote:
>> Because several people are reporting problems with the OS X egg, I
>> grabbed matplotlib-0.98.5-py2.5-macosx-10.3.egg from sourceforge and
>> unzipped it to see what was in there. It seems to contain no of the
>> extension code and no object files. What exactly is this thing? I am
>> no egg expert, but I don't see how this thing *could* work ...
>
> Hmm, it appears that I missed all the *.so files -- must work on my
> grep skills. Sorry for the noise
>
> JDH
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you. Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
From: Darren D. <dsd...@gm...> - 2008年12月14日 16:07:13
On Sun, Dec 14, 2008 at 8:12 AM, Sandro Tosi <mo...@de...> wrote:
> Hello,
> while preparing the debian package update for 0.98.5 I went thru a
> problem: we remove doc/mpl_data/matplotlibrc because it will be
> modified (to change backend (that now is set to MacOSX in the tarball
> distributed..?)) and up to now it wasn't used.
>
> Now, doc/make.py fails because of
>
> shutil.copy('mpl_data/matplotlibrc', '_static/matplotlibrc')
>
> So, can we use another 'matplotlibrc' file or the one in doc/mpl_data
> has something specific to doc and needs to maintained?
>
The default matplotlibrc file in mpl-data/ is created by setup.py during the
build process. The default backend is selected according to which gui
toolkits are available, and defaults to Agg if no supported toolkit is
available. setup.py only selects the macosx backend if the build is being
performed on a macosx system. The source tarball is apparently prepared on a
Mac, but I dont think it matters that the source dist contains this
platform-specific backend, since the file will be overwritten with more
appropriate settings anyway when you run setup.py build.
It would really be best to not remove the file that is created as a result
of running setup.py build. The mpl documentation suggests users to copy this
file into their ~/.matplotlib/ or wherever if they want to modify the
default properties, and it contains some documentation for each of the
settings.
On the other hand, if you are running setup.py build and the resulting
matplotlibrc file still says the default backend is macosx, and you are not
running macosx, and you have configured setup.cfg to set some other default
backend, then it is a bug that needs to be fixed.
Darren
From: fraka6 <fpi...@gm...> - 2008年12月14日 15:25:40
I have experience the same problem with easy_install but it is working with
aptitude, so do :
sudo aptitude install python-matplotlib
-Fran6
Charlie Moad wrote:
> I
> I'm not seeing this on OSX. Is anyone else experiencing this issue?
> 
> - Charlie
> 
> On Fri, Dec 12, 2008 at 2:39 PM, Neal Becker <ndb...@gm...> wrote:
>> sudo easy_install -U matplotlib
>> Searching for matplotlib
>> Reading http://pypi.python.org/simple/matplotlib/
>> Reading http://matplotlib.sourceforge.net
>> Reading
>> https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=278194
>> Reading
>> https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474
>> Reading http://sourceforge.net/project/showfiles.php?group_id=80706
>> Best match: matplotlib 0.98.5
>> Downloading
>> http://downloads.sourceforge.net/matplotlib/matplotlib-0.98.5.tar.gz?modtime=1229034572&big_mirror=0
>> Processing matplotlib-0.98.5.tar.gz
>> Running matplotlib-0.98.5/setup.py -q bdist_egg --dist-dir
>> /tmp/easy_install-CC1jw7/matplotlib-0.98.5/egg-dist-tmp-NSNvcC
>> ============================================================================
>> BUILDING MATPLOTLIB
>> matplotlib: 0.98.5
>> python: 2.5.2 (r252:60911, Sep 30 2008, 15:42:03) [GCC
>> 4.3.2 20080917 (Red Hat 4.3.2-4)]
>> platform: linux2
>>
>> REQUIRED DEPENDENCIES
>> numpy: 1.2.0
>> freetype2: 9.18.3
>>
>> OPTIONAL BACKEND DEPENDENCIES
>> libpng: 1.2.33
>> Tkinter: Tkinter: 50704, Tk: 8.5, Tcl: 8.5
>> * Guessing the library and include directories for
>> * Tcl and Tk because the tclConfig.sh and
>> * tkConfig.sh could not be found and/or parsed.
>> wxPython: 2.8.9.1
>> * WxAgg extension not required for wxPython >= 2.8
>> Gtk+: gtk+: 2.14.4, glib: 2.18.3, pygtk: 2.13.0,
>> pygobject: 2.15.4
>> Mac OS X native: no
>> Qt: Qt: 3.3.8, PyQt: 3.17.4
>> Qt4: Qt: 4.4.1, PyQt4: 4.4.3
>> Cairo: 1.4.12
>>
>> OPTIONAL DATE/TIMEZONE DEPENDENCIES
>> datetime: present, version unknown
>> dateutil: 1.4
>> pytz: 2006p
>>
>> OPTIONAL USETEX DEPENDENCIES
>> dvipng: 1.11
>> ghostscript: 8.63
>> latex: 3.141592
>>
>> EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES
>> configobj: 4.5.2
>> enthought.traits: no
>>
>> [Edit setup.cfg to suppress the above messages]
>> ============================================================================
>> error: lib/matplotlib/mpl-data/matplotlib.conf.template: No such file or
>> directory
>> Exception exceptions.OSError: (2, 'No such file or directory',
>> 'src/image.cpp') in <bound method CleanUpFile.__del__ of
>> <setupext.CleanUpFile instance at 0x7fc85b3c51b8>> ignored
>> Exception exceptions.OSError: (2, 'No such file or directory',
>> 'src/path.cpp') in <bound method CleanUpFile.__del__ of
>> <setupext.CleanUpFile instance at 0x7fc85b3c4638>> ignored
>> Exception exceptions.OSError: (2, 'No such file or directory',
>> 'src/backend_gdk.c') in <bound method CleanUpFile.__del__ of
>> <setupext.CleanUpFile instance at 0x7fc85978c7a0>> ignored
>> Exception exceptions.OSError: (2, 'No such file or directory',
>> 'src/backend_agg.cpp') in <bound method CleanUpFile.__del__ of
>> <setupext.CleanUpFile instance at 0x7fc85b3c4fc8>> ignored
>>
>>
>>
>> ------------------------------------------------------------------------------
>> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
>> Nevada.
>> The future of the web can't happen without you. Join us at MIX09 to help
>> pave the way to the Next Web now. Learn more and register at
>> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
>> _______________________________________________
>> Matplotlib-devel mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>>
> 
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
> Nevada.
> The future of the web can't happen without you. Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
> 
> 
-- 
View this message in context: http://www.nabble.com/error-installing-matplotlib-0.98.5-tp20982264p21001317.html
Sent from the matplotlib - devel mailing list archive at Nabble.com.
From: Sandro T. <mo...@de...> - 2008年12月14日 13:12:56
Hello,
while preparing the debian package update for 0.98.5 I went thru a
problem: we remove doc/mpl_data/matplotlibrc because it will be
modified (to change backend (that now is set to MacOSX in the tarball
distributed..?)) and up to now it wasn't used.
Now, doc/make.py fails because of
 shutil.copy('mpl_data/matplotlibrc', '_static/matplotlibrc')
So, can we use another 'matplotlibrc' file or the one in doc/mpl_data
has something specific to doc and needs to maintained?
Thanks,
-- 
Sandro Tosi (aka morph, Morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

Showing 16 results of 16

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /