Re: [Distutils] Bootstrap use_setuptools() in ez_setup.py failure

2011-01-20 Thread P.J. Eby

At 01:55 PM 1/20/2011 +0800, Pherl Liu wrote:
Hmm, I think it now only delete pkg_resource when 
pkg_resrouces.VersionConflict is caught, but the fix should be also 
delete pkg_resources when pkg_resources.DistributionNotFound is caught.


Good catch.  Under previous use cases, the only time you'd have 
pkg_resources and *not* setuptools, it would be if you were bundling 
pkg_resources.  Nowadays, though, some distros split setuptools from 
pkg_resources, so you can have an older, distro-supplied 
pkg_resources, but no setuptools.


Anyway, I've fixed this in SVN and on the website now.  Thanks!

___
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig


Re: [Distutils] current ez_setup.py appears to refers a non existing URL?

2011-01-20 Thread Rafael Monnerat


Hi,

I'm getting same problem for 2.6 when I use bootstrap.py .

Regards,
Rafael Monnerat

On 20-01-2011 18:16, Jan-Wijbrand Kolman wrote:

Hi,

Since about an hour or so, when I run ez_setup.py (by way of a 
zc.buildout bootstrap.py script), I get this:


Downloading 
http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c12-py2.7.egg

Traceback (most recent call last):
  File bootstrap.py, line 172, in module
ez['use_setuptools'](**setup_args)
  File string, line 76, in use_setuptools
  File string, line 70, in do_download
  File string, line 131, in download_setuptools
  File /home/jw/runtime/2.7/lib/python2.7/urllib2.py, line 126, in 
urlopen

return _opener.open(url, data, timeout)
  File /home/jw/runtime/2.7/lib/python2.7/urllib2.py, line 398, in open
response = meth(req, response)
  File /home/jw/runtime/2.7/lib/python2.7/urllib2.py, line 511, in 
http_response

'http', request, response, code, msg, hdrs)
  File /home/jw/runtime/2.7/lib/python2.7/urllib2.py, line 436, in 
error

return self._call_chain(*args)
  File /home/jw/runtime/2.7/lib/python2.7/urllib2.py, line 370, in 
_call_chain

result = func(*args)
  File /home/jw/runtime/2.7/lib/python2.7/urllib2.py, line 519, in 
http_error_default

raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found

And indeed, when I download ez_setup.py myself:

$ wget http://peak.telecommunity.com/dist/ez_setup.py

and run it, I also get the 404 on the URL:


http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c12-py2.7.egg. 



I have been bootstrap.py-ing packages all day long and suddenly they 
stopped to work. Am I doing something wrong, or is the ez_setup.py 
broken?


Kind regards, jw


___
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig


___
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig


[Distutils] [issue120] cli.exe quits on ctrl-c, but python doesn't

2011-01-20 Thread Guy Rozendorn

New submission from Guy Rozendorn g...@rzn.co.il:

the cli should use SetConsoleCtrlHandler to ignore CTRL-C and pass it to its 
child process

--
messages: 573
nosy: guyroz
priority: bug
status: unread
title: cli.exe quits on ctrl-c, but python doesn't

___
Setuptools tracker setupto...@bugs.python.org
http://bugs.python.org/setuptools/issue120
___
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig


Re: [Distutils] current ez_setup.py appears to refers a non existing URL?

2011-01-20 Thread P.J. Eby

At 09:16 PM 1/20/2011 +0100, Jan-Wijbrand Kolman wrote:

And indeed, when I download ez_setup.py myself:

$ wget http://peak.telecommunity.com/dist/ez_setup.py

and run it, I also get the 404 on the URL:


When I made the changes earlier today, I accidentally pushed the 
0.6c12 development version to /dist instead of the stable 0.6c12 
version.  It's fixed now; sorry about that.


___
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig