[Distutils] Keep downloaded files in case of an error

Dmitry Vasiliev lists at hlabs.spb.ru
Tue Jul 11 13:24:17 CEST 2006


Is there a way to keep downloaded files in case of an error? For example in my 
test setup.py I wrote:

     'install_requires=["Twisted >= 2.4.0"]'

Then I did:

     $ python setup.py develop
     Downloading ... Twisted-2.4.0.tar.bz2

And then few minutes later:

     Processing Twisted-2.4.0.tar.bz2
     error: Not a recognized archive type: .../Twisted-2.4.0.tar.bz2

The downloaded archive disappears. I think it would be useful to keep (or move 
to some selectable location) downloaded files in case of an error.

Dmitry Vasiliev (dima at hlabs.spb.ru)

More information about the Distutils-SIG mailing list