[Distutils] Installing subpackages under common superpackage
ottomaddox at fastmail.fm
Wed Apr 4 13:08:51 CEST 2012
Thank you for your answer. Could you please point me to the
specific functionality/documentation which I need to look at?
On Tue, Apr 3, 2012, at 08:53 AM, Rob Healey wrote:
The only way that I could tell you about a project that kind
of does what you are looking for is already done somewhat in
You may get the tarball from here, and look at its setup.py
and setup.cfg files...
Rob G. Healey
On Tue, Apr 3, 2012 at 8:35 AM, Otto Maddox
<ottomaddox at fastmail.fm> wrote:
I have a Python project which follows a client-server
is natural to develop it as two different projects and in two
source distributions, myproject-server.tar.gz and
Neither package depends on the other, but because they are
part of a
larger, overarching project, I want install each of them so
appear as subpackages (myproject.server and myproject.client)
common superpackage (myproject). I am looking for the cleanest
correct way to do this using distutils and setup.py, so that I
up with a structure like this:
and so that any of the following commands (and their standard
Is there a way to write distutils/setup.py to do this?
I have tried something like packages = ["myproject",
in the client's setup.py and packages = ["myproject",
"myproject.server"] in the server's setup.py. This kind of
works, but it
feels wrong because the second package which gets installed
overwrite files from the first -- for example, there is no
clean way to
I can't imagine that I'm the first person to want to address
case. What would be the best way of doing this?
Finally, does anybody have any examples of other projects
which do a
similar thing? Thanks.
http://www.fastmail.fm - Email service worth paying for.
Try it for free
Distutils-SIG maillist - Distutils-SIG at python.org
Rob G. Healey
2. mailto:ottomaddox at fastmail.fm
4. mailto:Distutils-SIG at python.org
http://www.fastmail.fm - Does exactly what it says on the tin
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Distutils-SIG