(Picking up this thread a bit late... And I just wrote a longer email which got munched due to email configuration issues...)
I'm responsible for the "package_data" keyword being added to setup.py. The bottom line is Python 2.3 is still supported. I simply didn't realize that it would screw things up. I propose that setuptools be a requirement for matplotlib with Python 2.3 and have committed a change that does this. So the issue is now closed unless we want to implement an alternative solution. These, as I see them, are: 1) revert to the old way. The primary issues with this are a) "package_data" is supported as standard Python from 2.4 on, and the old way required carrying our own distutils command and b) we switched the data directory to have a nested structure, which required code changes and repository layout changes that would have to be undone. 2) make our own distutils monkeypatch a la setuptools. Looking at setuptools/dist.py, this doesn't look trivial -- certainly beyond my free bandwidth capacity. -Andrew Eric Firing wrote: > Darren Dale wrote: > >> We support setuptools, but we do not require it. >> > > So, it sounds like setuptools is required now if one has Python 2.3. If > so, is that acceptable--is the gain worth the pain? Is there any > significant pain associated with requiring setuptools, at least for > people with Python 2.3? > > Eric > > >> On Friday 23 February 2007 5:46:58 am Edin Salkovic wrote: >> >>> I'm learning a bit about setuptools and distutils, so sorry if this is >>> a no brainer: Are we using only distutils for matplotlib? I.e. - no >>> setuptools? >>> >>> This is because I stumbled across this at the setuptools page: >>> http://peak.telecommunity.com/DevCenter/setuptools >>> ==== >>> Feature Highlights: >>> >>> .... >>> * Include data files inside your package directories, where your >>> code can actually use them. (Python 2.4 distutils also supports this >>> feature, but setuptools provides the feature for Python 2.3 packages >>> also, and supports accessing data files in zipped packages too.) >>> .... >>> >>> Cheers, >>> Edin >>> >>> On 2/22/07, Darren Dale <[EMAIL PROTECTED]> wrote: >>> >>>> I noticed today that setup.py is using package_data. Is this absolutely >>>> necessary? The most recent version of Red Hat Enterprise Linux includes >>>> python-2.3, which does not support package_data. We are still supporting >>>> python-2.3, aren't we? >>>> >>>> Darren >>>> ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel