Re: [Distutils] DWIM installation with setuptools

2006-02-09 Thread Phillip J. Eby
At 05:14 PM 2/9/2006 -0600, Ian Bicking wrote: >Phillip J. Eby wrote: >>This is really good news, however. It appears to mean that slapping a >>copy of my hacked 'site.py' (i.e., the one that honors .pth files along >>PYTHONPATH) into the easy_install target directory would make >>PYTHONPATH-ba

Re: [Distutils] easy_install problem with Twisted-2.1.0

2006-02-09 Thread Phillip J. Eby
At 03:07 PM 2/9/2006 -0800, [EMAIL PROTECTED] wrote: >Hi all, > >here's a quick bug report for ya. Happened with both Python 2.3 and >2.4, using latest easy_install. Please see http://mail.python.org/pipermail/distutils-sig/2006-February/005960.html Better yet, would you update the experiences

[Distutils] easy_install problem with Twisted-2.1.0

2006-02-09 Thread titus
Hi all, here's a quick bug report for ya. Happened with both Python 2.3 and 2.4, using latest easy_install. % easy_install Twisted-2.1.0.tar.bz2 Processing Twisted-2.1.0.tar.bz2 Running Twisted-2.1.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-5-YDh-/Twisted-2.1.0/egg-dist-tmp-9yveKV Tra

Re: [Distutils] DWIM installation with setuptools

2006-02-09 Thread Ian Bicking
Phillip J. Eby wrote: > This is really good news, however. It appears to mean that slapping a copy > of my hacked 'site.py' (i.e., the one that honors .pth files along > PYTHONPATH) into the easy_install target directory would make > PYTHONPATH-based installs essentially DWIMmish. To complete

[Distutils] /usr/lib64 site-packages (was Re: installation troubles)

2006-02-09 Thread Phillip J. Eby
At 05:04 PM 2/9/2006 -0500, Karl Pietrzak wrote: >creating /usr/lib64/python2.4/site-packages/setuptools-0.6a9-py2.4.egg >Extracting setuptools-0.6a9-py2.4.egg to /usr/lib64/python2.4/site-packages >Installing easy_install script to /usr/bin > >Installed /usr/lib64/python2.4/site-packages/setuptool

Re: [Distutils] A prefix option?

2006-02-09 Thread Phillip J. Eby
At 03:45 PM 2/9/2006 -0600, Ian Bicking wrote: >Phillip J. Eby wrote: >>>I think we need a simple way to handle custom directories that is: >>> >>>- cross platform >>> >>>- doesn't require modifying the Python install >>> >>>- allows chained/multile custom directories, which means the trick >>> of

Re: [Distutils] Some negative press for easy_install

2006-02-09 Thread Ian Bicking
Robert Kern wrote: setuptools-based packages can be forced to install the old-fashioned way using: setup.py install --single-version-externally-managed as long as you also specify a --root directory or a --record file. This is of course not upgradeable or uninstall

[Distutils] DWIM installation with setuptools

2006-02-09 Thread Phillip J. Eby
Okay, so I've been thinking about all the recent complaints/requests regarding the perils of PYTHONPATH, site-packages, --prefix, and all that. And I'm thinking, is there some way I can work around all this stuff so that installation is totally DWIMmish -- that is, that the install can just "d

Re: [Distutils] A prefix option?

2006-02-09 Thread Ian Bicking
Phillip J. Eby wrote: >>I think we need a simple way to handle custom directories that is: >> >>- cross platform >> >>- doesn't require modifying the Python install >> >>- allows chained/multile custom directories, which means the trick >> of putting eggs and scripts in the same directory doesn't

Re: [Distutils] Some negative press for easy_install

2006-02-09 Thread Robert Kern
Phillip J. Eby wrote: > At 02:10 PM 2/9/2006 -0600, Robert Kern wrote: > >>Phillip J. Eby wrote: >>>setuptools-based packages can be forced to install the old-fashioned way >>>using: >>> >>>setup.py install --single-version-externally-managed >>> >>>as long as you also specify a --root direct

Re: [Distutils] Some negative press for easy_install

2006-02-09 Thread Phillip J. Eby
At 02:10 PM 2/9/2006 -0600, Robert Kern wrote: >Phillip J. Eby wrote: > > At 01:31 PM 2/9/2006 -0600, Robert Kern wrote: > > > >> Andrew Straw wrote: > >> > >> > Note that matplotlib tried essentially this for a while, but apparently > >> > some folks really didn't like it. I'm not sure what exactl

Re: [Distutils] Changes to --find-links and --upgrade in SVN

2006-02-09 Thread John J Lee
On Wed, 8 Feb 2006, Phillip J. Eby wrote: [...] > happen. EasyInstall will now *only* go online if a dependency can't be > resolved locally, if -U or --upgrade is used, or if you provided suitable > direct URLs via an argument or --find-links, or via a link in a local .html > file. Great, that an

Re: [Distutils] Some negative press for easy_install

2006-02-09 Thread Robert Kern
Phillip J. Eby wrote: > At 01:31 PM 2/9/2006 -0600, Robert Kern wrote: > >> Andrew Straw wrote: >> >> > Note that matplotlib tried essentially this for a while, but apparently >> > some folks really didn't like it. I'm not sure what exactly broke on >> > their systems (they didn't complain to the

Re: [Distutils] Some negative press for easy_install

2006-02-09 Thread Bob Ippolito
On Feb 9, 2006, at 10:38 AM, Andrew Straw wrote: > This way, setup.py can be setuptools-aware without doing 'import > setuptools', but the user would have to do: > python -c "import setuptools; execfile('setup.py')" Maybe we should get an easy_setup that does this? easy_install is fine if you

Re: [Distutils] Some negative press for easy_install

2006-02-09 Thread Phillip J. Eby
At 01:31 PM 2/9/2006 -0600, Robert Kern wrote: >Andrew Straw wrote: > > > Note that matplotlib tried essentially this for a while, but apparently > > some folks really didn't like it. I'm not sure what exactly broke on > > their systems (they didn't complain to the mailing list), but when > > setup

Re: [Distutils] Some negative press for easy_install

2006-02-09 Thread Phillip J. Eby
At 10:38 AM 2/9/2006 -0800, Andrew Straw wrote: >Note that matplotlib tried essentially this for a while, but apparently >some folks really didn't like it. I'm not sure what exactly broke on >their systems (they didn't complain to the mailing list) I wish more people would complain in useful ways;

Re: [Distutils] Some negative press for easy_install

2006-02-09 Thread Robert Kern
Andrew Straw wrote: > Note that matplotlib tried essentially this for a while, but apparently > some folks really didn't like it. I'm not sure what exactly broke on > their systems (they didn't complain to the mailing list), but when > setup.py reverted to a plain distutils script, they cheered

Re: [Distutils] Some negative press for easy_install

2006-02-09 Thread Andrew Straw
Phillip J. Eby wrote: >At 11:10 AM 2/9/2006 -0500, Kevin Dangoor wrote: > > >>Could you do something like this: >> >>try: >>from setuptools import setup >>except ImportError: >>from distutils.core import setup >> >>On your system, you'd then be able to build eggs at will. Other people >>

Re: [Distutils] Some negative press for easy_install

2006-02-09 Thread Phillip J. Eby
At 08:02 AM 2/9/2006 -0800, Ben Bangert wrote: >On Feb 9, 2006, at 3:55 AM, Paul Moore wrote: > > > If routes *needed* setuptools functionality, then fine - but explain > > this prominently somewhere: "This package uses setuptools, which is > > currently in alpha status - there may be issues instal

Re: [Distutils] API for finding plugins

2006-02-09 Thread Phillip J. Eby
At 07:15 AM 2/9/2006 -0500, Jim Fulton wrote: >Phillip J. Eby wrote: >>I recently started work on adding egg support to Chandler ( >>http://chandler.osafoundation.org/ ), and ran into some interesting >>issues with respect to plugin discovery. Specifically, it's not easy to >>do it well with th

Re: [Distutils] Some negative press for easy_install

2006-02-09 Thread Phillip J. Eby
At 11:55 AM 2/9/2006 +, Paul Moore wrote: >explain this prominently somewhere: "This package uses setuptools, which >is currently in alpha status - there may be issues installing or using >the software. If you hit any problems, please report them to the >distils-sg, and thank you for helping to

Re: [Distutils] A prefix option?

2006-02-09 Thread Phillip J. Eby
At 07:31 AM 2/9/2006 -0500, Jim Fulton wrote: >I really don't think the virtual python approach is viable, at a minimum >because it doesn't work on windows. It is also unacceptably heavy IMO. What do you mean by "heavy"? >I think we need a simple way to handle custom directories that is: > >- c

Re: [Distutils] Some negative press for easy_install

2006-02-09 Thread Phillip J. Eby
At 11:10 AM 2/9/2006 -0500, Kevin Dangoor wrote: >On 2/9/06, Ben Bangert <[EMAIL PROTECTED]> wrote: > > It's mainly because Routes is relied on by quite a few other > > setuptools-enabled packages, so being able to easy install it was > > necessary. I didn't have a non-setuptools build mainly becau

Re: [Distutils] Some negative press for easy_install

2006-02-09 Thread Phillip J. Eby
At 07:59 AM 2/9/2006 +, Michael Twomey wrote: >Hi, > >Joe Gregorio has a fairly negative experience with easy_install here: >http://bitworking.org/news/Please_stop_using_setuptools__at_least_exclusively__for_now > >I think his points boil roughly down to these: > >1. (not directly related t

Re: [Distutils] Some negative press for easy_install

2006-02-09 Thread Kevin Dangoor
On 2/9/06, Ben Bangert <[EMAIL PROTECTED]> wrote: > It's mainly because Routes is relied on by quite a few other > setuptools-enabled packages, so being able to easy install it was > necessary. I didn't have a non-setuptools build mainly because I > couldn't see how to setup a setup.py file in such

Re: [Distutils] Some negative press for easy_install

2006-02-09 Thread Gerhard Häring
Ben Bangert wrote: > I didn't have a non-setuptools build mainly because I > couldn't see how to setup a setup.py file in such a way that I could > make both versions at once. I'm assuming I'd need two setup.py's and > to swap them in the build depending on if it was a setuptools build > or

Re: [Distutils] Some negative press for easy_install

2006-02-09 Thread Ben Bangert
On Feb 9, 2006, at 3:55 AM, Paul Moore wrote: > If routes *needed* setuptools functionality, then fine - but explain > this prominently somewhere: "This package uses setuptools, which is > currently in alpha status - there may be issues installing or using > the software. If you hit any problems,

Re: [Distutils] A prefix option?

2006-02-09 Thread Jim Fulton
Phillip J. Eby wrote: > At 02:42 PM 2/8/2006 -0800, Ben Bangert wrote: > >>I'm wondering if there's any plans for a prefix option, which >>functions like the common makefile prefix option for where the lib/ >>bin dir will then be, etc. My main reason for asking is this blog >>entry regarding setup

Re: [Distutils] API for finding plugins

2006-02-09 Thread Jim Fulton
Phillip J. Eby wrote: > I recently started work on adding egg support to Chandler ( > http://chandler.osafoundation.org/ ), and ran into some interesting issues > with respect to plugin discovery. Specifically, it's not easy to do it > well with the APIs that pkg_resources currently offers. I

Re: [Distutils] Some negative press for easy_install

2006-02-09 Thread Paul Moore
On 2/9/06, Michael Twomey <[EMAIL PROTECTED]> wrote: > Hi, > > Joe Gregorio has a fairly negative experience with easy_install here: > http://bitworking.org/news/Please_stop_using_setuptools__at_least_exclusively__for_now > > I think his points boil roughly down to these: [...] > 5. At this poi

Re: [Distutils] Some negative press for easy_install

2006-02-09 Thread Michael Twomey
Whoops, I just noticed previous messages on this, ignore me. Michael On 09/02/06, Michael Twomey <[EMAIL PROTECTED]> wrote: > Hi, > > Joe Gregorio has a fairly negative experience with easy_install here: > http://bitworking.org/news/Please_stop_using_setuptools__at_least_exclusively__for_now

[Distutils] Some negative press for easy_install

2006-02-09 Thread Michael Twomey
Hi, Joe Gregorio has a fairly negative experience with easy_install here: http://bitworking.org/news/Please_stop_using_setuptools__at_least_exclusively__for_now I think his points boil roughly down to these: 1. (not directly related to his first comment, but I think this might be a source of