[Distutils] Versioned entry points
Tres Seaver
tseaver at palladion.com
Fri Mar 28 19:24:01 CET 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 03/28/2014 01:18 PM, Vinay Sajip wrote:
>> Does anyone have any thoughts?
>
> Note that there is one situation where scripts for multiple Python
> versions reside in the same directory: per-user site-packages (PEP
> 370). If you install a package which has scripts and you don't write
> versioned scripts, a second installation of that package (with a
> different Python version) will cause the first script to be
> overwritten. Much of the time this won't matter, but there might be
> scenarios where it does.
>
> It may also give a problem when uninstalling, or when verifying the
> installation (as the hash of an overwritten script may not match
> what's expected, as per the original installation).
>
> To avoid overwriting, one would need to write versioned scripts
> *only* :-)
Heh, sounds like a call for Underdog^W:
$ python setup.py altinstall
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlM1vkAACgkQ+gerLs4ltQ5CLACgodRwkXiS9irK/nP3dKPnlaXO
5GYAoKbJ4NiDFJdHNIWPozIpMzN6+z62
=q7Bh
-----END PGP SIGNATURE-----
More information about the Distutils-SIG
mailing list