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

cool-RR cool-rr at cool-rr.com
Fri May 28 20:00:16 CEST 2010

On Fri, May 28, 2010 at 7:44 PM, P.J. Eby <pje at telecommunity.com> wrote:

> 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.)

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 I want to detect anything beyond the Python
version in the setup script?

Ram Rachum
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20100528/b6cb19d5/attachment.html>

More information about the Distutils-SIG mailing list