[Distutils] Disabling --single-version-externally-managed

Toshio Kuratomi a.badger at gmail.com
Sat Sep 1 23:54:05 CEST 2007

Toshio Kuratomi wrote:
> This code creates an unordered list because you might have already had
> to place something after one of the duplicate locations that this code
> is removing.  We need to do a sort of the entire list after each add +
> duplicate removal run.

Here's a quick and dirty patch.  It's correct but it's inefficient.  A
better sort algorithm would help some.  Refactoring code so we call a
sort method after we finish adding entries to the path would be even better.

I'll test how this affects packaging tonight.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: setuptools-pkg_resources-order.patch
Type: text/x-patch
Size: 1929 bytes
Desc: not available
Url : http://mail.python.org/pipermail/distutils-sig/attachments/20070901/aca10257/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : http://mail.python.org/pipermail/distutils-sig/attachments/20070901/aca10257/attachment-0001.pgp 

More information about the Distutils-SIG mailing list