From: Darren D. <dd...@co...> - 2007-03-03 19:23:59
|
On Saturday 03 March 2007 12:43:53 pm you wrote: > On 2/23/07, Andrew Straw <str...@as...> wrote: > > 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. > > This is fine by me -- I actually was forced to think about this this > morning as I tried to upgrade my powerbook to the latest svn. =A0I'm > still on python2.3, and when I tried to install I hit the setuptools > import. =A0I figured I would be a good crash test dummy to see how easy > it was to install setuptools, so I poked around and found the ez_setup > and am off to the races. =A0I added a friendly exception to setup.py to > make it easier for the next guy > > if major=3D=3D2 and minor1<=3D3: > =A0 =A0 # setuptools monkeypatches distutils.core.Distribution to support > =A0 =A0 # package_data > =A0 =A0 try: import setuptools > =A0 =A0 except ImportError: > =A0 =A0 =A0 =A0 raise SystemExit("""\ > matplotlib requires setuptools for installation. =A0Please download > http://peak.telecommunity.com/dist/ez_setup.py and run it (as su if > you are doing a system wide install) to install the proper version of > setuptools for your system""") Excellent, I was going to add a warning like this myself if the setuptools= =20 approach was accepted. > Darren, do you still have the html docs building on your system? =A0If > so, perhaps you could update the installing page to mention the > requirement (an perhaps the user's guide). =A0I updated the README in > the src distro. =A0I still haven't got my build pipeline for the htdocs > and user's guide going on my laptop after my old build computer died, > a good indication that both are too complicated.... Yes, I am set up to build the html docs (in fact, I have been working a bit= on=20 the users guide this morning.) I'll update the webpage this afternoon. Darren |