[Distutils] Having a Python package install itself under a different name

P.J. Eby pje at telecommunity.com
Fri May 28 19:44:18 CEST 2010


At 02:53 AM 5/28/2010 +0200, cool-RR wrote:
>On Fri, May 28, 2010 at 2:36 AM, P.J. Eby 
><<mailto:pje at telecommunity.com>pje at telecommunity.com> wrote:
>However, as long as both versions alert the user when used on the 
>wrong Python version, they will quickly discover their mistake.  ;-)
>
>Yes, I thought about this too. You suggest doing that on the setup 
>script, the package itself, or both?

The package itself; doing it in the setup script is ridiculously 
hard.  (Not detecting the Python version, but detecting whether 
you're installing both versions to the same location.)



More information about the Distutils-SIG mailing list