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
(1) |
2
(4) |
3
(1) |
4
(1) |
5
(8) |
6
(3) |
7
(6) |
8
(1) |
9
(2) |
10
(3) |
11
|
12
(9) |
13
|
14
(11) |
15
|
16
|
17
|
18
|
19
(11) |
20
(6) |
21
|
22
|
23
(7) |
24
(1) |
25
|
26
|
27
|
28
|
29
|
30
|
31
|
On Dec 14, 2005, at 9:23 AM, Charlie Moad wrote: > I missed the "New in version 2.4." note in the link I posted. With > this I would say the current state is probably worth keeping. Attached is a script which I wrote to make setup.py's more declarative and to make using setuptools/py2exe/etc from one file less of a pain. The important part is that it also backports "package_data" to Python 2.3, which could be ripped out and dropped into matplotlib's setup.py without too much trouble. Ken
I missed the "New in version 2.4." note in the link I posted. With this I would say the current state is probably worth keeping. Sorry for the DoS attack of emails on the mailing list this morning. ;) - Charlie On 12/14/05, Charlie Moad <cw...@gm...> wrote: > http://www.python.org/doc/current/dist/node11.html > > From this my impression is that the package data files will be placed > in the same way they are in the package. I will look for a way to get > around this, and if anyone on the list knows how, please speak up. As > I said previously, my attempts to use "../../images/*" seemed not to > work. > > On 12/14/05, John Hunter <jdh...@ac...> wrote: > > >>>>> "Charlie" =3D=3D Charlie Moad <cw...@gm...> writes: > > > > Charlie> Before I do it, you do know that there will be no folder > > Charlie> heirarchy: e.g. fonts/ttf/*, images... All files will be > > Charlie> in lib/matplotlib/mpl-data/. I honestly don't think > > Charlie> there are terribly many files, so shouldn't be a huge > > Charlie> deal. > > > > Is this the only way to do it (no folder hierarchy?). If so, I don't > > see it as a show stopper. But if it's possible, some form of > > organization would be cleaner... > > > > JDH > > >
> try: > from setuptools.command import bdist_egg > #from setuptools import setup # use setuptools if possible > has_setuptools =3D True > except ImportError: > from distutils.core import setup > has_setuptools =3D False > Won't setup not be defined if there is an ImportError? This instead? try: from setuptools.command import bdist_egg has_setuptools =3D True except ImportError: has_setuptools =3D False from distutils.core import setup
http://www.python.org/doc/current/dist/node11.html From this my impression is that the package data files will be placed in the same way they are in the package. I will look for a way to get around this, and if anyone on the list knows how, please speak up. As I said previously, my attempts to use "../../images/*" seemed not to work. On 12/14/05, John Hunter <jdh...@ac...> wrote: > >>>>> "Charlie" =3D=3D Charlie Moad <cw...@gm...> writes: > > Charlie> Before I do it, you do know that there will be no folder > Charlie> heirarchy: e.g. fonts/ttf/*, images... All files will be > Charlie> in lib/matplotlib/mpl-data/. I honestly don't think > Charlie> there are terribly many files, so shouldn't be a huge > Charlie> deal. > > Is this the only way to do it (no folder hierarchy?). If so, I don't > see it as a show stopper. But if it's possible, some form of > organization would be cleaner... > > JDH >
>>>>> "Charlie" == Charlie Moad <cw...@gm...> writes: Charlie> Before I do it, you do know that there will be no folder Charlie> heirarchy: e.g. fonts/ttf/*, images... All files will be Charlie> in lib/matplotlib/mpl-data/. I honestly don't think Charlie> there are terribly many files, so shouldn't be a huge Charlie> deal. Is this the only way to do it (no folder hierarchy?). If so, I don't see it as a show stopper. But if it's possible, some form of organization would be cleaner... JDH
Before I do it, you do know that there will be no folder heirarchy: e.g. fonts/ttf/*, images... All files will be in lib/matplotlib/mpl-data/. I honestly don't think there are terribly many files, so shouldn't be a huge deal. - Charlie On 12/14/05, John Hunter <jdh...@ac...> wrote: > >>>>> "Charlie" =3D=3D Charlie Moad <cw...@gm...> writes: > > Charlie> Btw, the best approach would to specify the data as > Charlie> package-data (since that is what it is), and it would be > Charlie> the most compatible. Unfortunately my attempt to use > Charlie> parent directory relative paths failed. Taking this > Charlie> approach would actually require moving all the mpl data > Charlie> into the lib/matplotlib/mpl-data directory in cvs. I > Charlie> thought you might be opposed to that, hence I have the > Charlie> logic in the setup file. > > > I'm happy to do it in the cleanest and best way so feel free to > reorganize as necessary, as long as we continue to test on the various > platforms as you have been doing. You'll need to submit an admin > request to the sf developers to flush the unused CVS directories after > the reorganization. > > JDH >
>>>>> "Charlie" == Charlie Moad <cw...@gm...> writes: Charlie> Btw, the best approach would to specify the data as Charlie> package-data (since that is what it is), and it would be Charlie> the most compatible. Unfortunately my attempt to use Charlie> parent directory relative paths failed. Taking this Charlie> approach would actually require moving all the mpl data Charlie> into the lib/matplotlib/mpl-data directory in cvs. I Charlie> thought you might be opposed to that, hence I have the Charlie> logic in the setup file. I'm happy to do it in the cleanest and best way so feel free to reorganize as necessary, as long as we continue to test on the various platforms as you have been doing. You'll need to submit an admin request to the sf developers to flush the unused CVS directories after the reorganization. JDH
Btw, the best approach would to specify the data as package-data (since that is what it is), and it would be the most compatible.=20 Unfortunately my attempt to use parent directory relative paths failed. Taking this approach would actually require moving all the mpl data into the lib/matplotlib/mpl-data directory in cvs. I thought you might be opposed to that, hence I have the logic in the setup file. - Charlie On 12/14/05, Charlie Moad <cw...@gm...> wrote: > That seems a better approach. Did you commit? > > On 12/14/05, John Hunter <jdh...@ac...> wrote: > > >>>>> "Charlie" =3D=3D Charlie Moad <cw...@gm...> writes: > > > > Charlie> I just committed my changes. The simplest approach > > Charlie> would be to specify the matplotlib module package_data, > > Charlie> but the current cvs layout doesn't tailor to that very > > Charlie> well. So I mimicked distutils install command to > > Charlie> determine where matplotlib is installed. The datapath is > > Charlie> then defined as $platlib/matplotlib/mpl-data. Why this > > Charlie> change? If you take a look at > > Charlie> matplotlib._get_data_path() you will see. This method > > Charlie> has grown to probably 100 lines of code to check for > > Charlie> various cases, e.g. py2exe, setuptools, embedding mpl, > > Charlie> etc. Now that the data is installed into the matplotlib > > Charlie> module you could pretty much reduce to 1 line: > > Charlie> "os.sep.join([os.path.dirname(__file__), 'mpl-data'])". > > Charlie> This now handles all the cases mentioned above. I left > > Charlie> in the initial check for the MATPLOTLIBDATA env key to > > Charlie> still allow for some flexibility. I have tested on posix > > Charlie> and w/wo setuptools. I am going to check windows right > > Charlie> now, but pretty sure it should work. Please check this > > Charlie> very carefully before next release as it is a pretty > > Charlie> major change. Let me know if anyone encounters a > > Charlie> problem. > > > > I'm having some trouble with this on my system. I don't know if > > something is screwy with my setuptools because I have setuptools but I > > don't have egg > > > > peds-pc311:~/python/projects/matplotlib> python > > Python 2.4.1 (#2, Mar 30 2005, 21:51:10) > > [GCC 3.3.5 (Debian 1:3.3.5-8ubuntu2)] on linux2 > > Type "help", "copyright", "credits" or "license" for more information. > > >>> import setuptools > > >>> from setuptools.command import bdist_egg > > Traceback (most recent call last): > > File "<stdin>", line 1, in ? > > ImportError: cannot import name bdist_egg > > >>> > > > > and my install fails > > > > peds-pc311:~/python/projects/matplotlib> sudo python setup.py install > > installing data to ./matplotlib/mpl-data > > running install > > running build > > running build_py > > running build_ext > > running install_lib > > running install_data > > copying matplotlibrc -> /usr/./matplotlib/mpl-data > > > > > > So I replaced the has_setup check with this > > > > try: > > from setuptools.command import bdist_egg > > #from setuptools import setup # use setuptools if possible > > has_setuptools =3D True > > except ImportError: > > from distutils.core import setup > > has_setuptools =3D False > > > > > > which works on my system. I hit the same bug with scipy, and the > > moral seems to be that you should explicitly check for eggs rather > > than just setuptools, because there are some versions of setuptools > > floating around w/o eggs. > > > > JDH > > >
>>>>> "Charlie" == Charlie Moad <cw...@gm...> writes: Charlie> That seems a better approach. Did you commit? Not yet, but I will. JDH
That seems a better approach. Did you commit? On 12/14/05, John Hunter <jdh...@ac...> wrote: > >>>>> "Charlie" =3D=3D Charlie Moad <cw...@gm...> writes: > > Charlie> I just committed my changes. The simplest approach > Charlie> would be to specify the matplotlib module package_data, > Charlie> but the current cvs layout doesn't tailor to that very > Charlie> well. So I mimicked distutils install command to > Charlie> determine where matplotlib is installed. The datapath is > Charlie> then defined as $platlib/matplotlib/mpl-data. Why this > Charlie> change? If you take a look at > Charlie> matplotlib._get_data_path() you will see. This method > Charlie> has grown to probably 100 lines of code to check for > Charlie> various cases, e.g. py2exe, setuptools, embedding mpl, > Charlie> etc. Now that the data is installed into the matplotlib > Charlie> module you could pretty much reduce to 1 line: > Charlie> "os.sep.join([os.path.dirname(__file__), 'mpl-data'])". > Charlie> This now handles all the cases mentioned above. I left > Charlie> in the initial check for the MATPLOTLIBDATA env key to > Charlie> still allow for some flexibility. I have tested on posix > Charlie> and w/wo setuptools. I am going to check windows right > Charlie> now, but pretty sure it should work. Please check this > Charlie> very carefully before next release as it is a pretty > Charlie> major change. Let me know if anyone encounters a > Charlie> problem. > > I'm having some trouble with this on my system. I don't know if > something is screwy with my setuptools because I have setuptools but I > don't have egg > > peds-pc311:~/python/projects/matplotlib> python > Python 2.4.1 (#2, Mar 30 2005, 21:51:10) > [GCC 3.3.5 (Debian 1:3.3.5-8ubuntu2)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> import setuptools > >>> from setuptools.command import bdist_egg > Traceback (most recent call last): > File "<stdin>", line 1, in ? > ImportError: cannot import name bdist_egg > >>> > > and my install fails > > peds-pc311:~/python/projects/matplotlib> sudo python setup.py install > installing data to ./matplotlib/mpl-data > running install > running build > running build_py > running build_ext > running install_lib > running install_data > copying matplotlibrc -> /usr/./matplotlib/mpl-data > > > So I replaced the has_setup check with this > > try: > from setuptools.command import bdist_egg > #from setuptools import setup # use setuptools if possible > has_setuptools =3D True > except ImportError: > from distutils.core import setup > has_setuptools =3D False > > > which works on my system. I hit the same bug with scipy, and the > moral seems to be that you should explicitly check for eggs rather > than just setuptools, because there are some versions of setuptools > floating around w/o eggs. > > JDH >
>>>>> "Charlie" == Charlie Moad <cw...@gm...> writes: Charlie> I just committed my changes. The simplest approach Charlie> would be to specify the matplotlib module package_data, Charlie> but the current cvs layout doesn't tailor to that very Charlie> well. So I mimicked distutils install command to Charlie> determine where matplotlib is installed. The datapath is Charlie> then defined as $platlib/matplotlib/mpl-data. Why this Charlie> change? If you take a look at Charlie> matplotlib._get_data_path() you will see. This method Charlie> has grown to probably 100 lines of code to check for Charlie> various cases, e.g. py2exe, setuptools, embedding mpl, Charlie> etc. Now that the data is installed into the matplotlib Charlie> module you could pretty much reduce to 1 line: Charlie> "os.sep.join([os.path.dirname(__file__), 'mpl-data'])". Charlie> This now handles all the cases mentioned above. I left Charlie> in the initial check for the MATPLOTLIBDATA env key to Charlie> still allow for some flexibility. I have tested on posix Charlie> and w/wo setuptools. I am going to check windows right Charlie> now, but pretty sure it should work. Please check this Charlie> very carefully before next release as it is a pretty Charlie> major change. Let me know if anyone encounters a Charlie> problem. I'm having some trouble with this on my system. I don't know if something is screwy with my setuptools because I have setuptools but I don't have egg peds-pc311:~/python/projects/matplotlib> python Python 2.4.1 (#2, Mar 30 2005, 21:51:10) [GCC 3.3.5 (Debian 1:3.3.5-8ubuntu2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import setuptools >>> from setuptools.command import bdist_egg Traceback (most recent call last): File "<stdin>", line 1, in ? ImportError: cannot import name bdist_egg >>> and my install fails peds-pc311:~/python/projects/matplotlib> sudo python setup.py install installing data to ./matplotlib/mpl-data running install running build running build_py running build_ext running install_lib running install_data copying matplotlibrc -> /usr/./matplotlib/mpl-data So I replaced the has_setup check with this try: from setuptools.command import bdist_egg #from setuptools import setup # use setuptools if possible has_setuptools = True except ImportError: from distutils.core import setup has_setuptools = False which works on my system. I hit the same bug with scipy, and the moral seems to be that you should explicitly check for eggs rather than just setuptools, because there are some versions of setuptools floating around w/o eggs. JDH