[Distutils] Having a Python package install itself under a different name
cool-RR
cool-rr at cool-rr.com
Fri Jun 4 22:36:49 CEST 2010
On Fri, Jun 4, 2010 at 10:25 PM, Lennart Regebro <regebro at gmail.com> wrote:
> I just had an idea, no idea if it's good or not:
>
> You could try including both the Python 2 and Python 3 source code in
> the sdist, but select different ones for install depending on the
> Python version.
>
> I haven't tried this, but I can't come up with a reason it wouldn't
> work. If anyone else can, please tell me before Thursday. ;-)
> --
> Lennart Regebro
It would be pretty cool, since I won't have to confuse users with the
`_py3` thing, but here are 2 problems:
1. I find it a little dirty that one single package has two different code
bases.
2. I like having the Python 3 fork as an actual fork, (i.e. separate repo,)
so I can easily merge changes from the main fork. If I keep them next to
each other like this, it will be hard for me to keep them as separate repos
and therefore hard to do merges. (Keep in mind that the main fork contains
three packages, `garlicsim`, `garlicsim_lib` and `garlicsim_wx`, and the
Python 3 fork contains `garlicsim` and `garlicsim_lib`, so trying to weave
them together will be nontrivial.) Sure, I can figure out some scheme to do
this, but it will be messy.
Ram.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20100604/0b2663e4/attachment-0001.html>
More information about the Distutils-SIG
mailing list