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

Lennart Regebro regebro at gmail.com
Fri May 28 20:12:51 CEST 2010

On Fri, May 28, 2010 at 20:00, cool-RR <cool-rr at cool-rr.com> wrote:
> I'm not sure we're on the same page here. My intention is that Python 2.x
> users will use only `garlicsim`, and Python 3.x users will use only
> `garlicsim_py3`.

Why would you want that? Reasonably it should be called garlicsim in both cases.
If not you make it needlessly painful to move from Python 2 to Python 3.

Also, even though you want your code to be clean, the amount of
compatibility hacks to support both Python 2 and Python 3 you would
need is probably not very large if you use Distribute and it's 2to3

Lennart Regebro: Python, Zope, Plone, Grok
+33 661 58 14 64

More information about the Distutils-SIG mailing list