[Distutils] Re: distribution of an embedding application

Thomas Heller theller at python.net
Thu Jan 20 19:59:12 CET 2005


Uwe Zeisberger <zeisberg at informatik.uni-freiburg.de> writes:

> Hello,
>
> I coded a simple application in C, which embeds python.  Now I want to
> distribute this program using distutils.
>
> In the documentation of distutils I found the usual ways to build and install
> python scripts and modules.
>
> Is there a way to use distutils to build my application, too? Something like:
>
> --8<--
>   from distutils.core import setup
>
>   setup(name="foo", applications=[Application("foo", ["foo.c"])])
>
> --8<--

Not directly.  But you can customize the commands that distutils uses,
the py2exe setup could serve as an example.

Thomas



More information about the Distutils-SIG mailing list