[Distutils] Releasing eggs as .tar.gz with setuptools or zc.buildout
pje at telecommunity.com
Wed Mar 24 20:12:05 CET 2010
At 04:35 PM 3/24/2010 +0100, Martin Raspaud wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>I am now working on a project that I need to deploy on different servers in a
>compiled form, as tar.gz files (the servers do not have gcc for example).
>The project comprises two libraries and an extra set of config files
>for batch computation.
>I would like to have a utility that does all the packaging for me, that is
>create a tar.gz for each lib and one for the scripts, each containing a
>directory with the compiled things.
>Here are my different approaches:
>- - setuptools bdist: This is almost what I need, except that it
>creates a usr dir
>on top of the tarball.
You could always repack the tarball without it, or change your
default installation prefix to match that of the target system(s).
(There's a --relative option, too, but it seems to be broken when I
try it on my systems.)
More information about the Distutils-SIG