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

P.J. Eby pje at telecommunity.com
Thu May 27 23:03:36 CEST 2010


At 10:40 PM 5/27/2010 +0200, cool-RR wrote:
>Is there a way that `garlicsim_py3` will install itself under the 
>alias `garlicsim`? What I want is for a Python 3 user to be able to 
>`import garlicsim` and refer to the module all the time as 
>`garlicsim`, but that it will really be `garlicsim_py3`.

Why not just develop them both with the same package name?  Your 
project name (in setup(name='...')) can still be different.



More information about the Distutils-SIG mailing list