distribution of an embedding application

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<-- Regards Uwe -- Uwe Zeisberger http://www.google.com/search?q=30+hours+and+4+days+in+seconds

Uwe Zeisberger <zeisberg@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
participants (2)
-
Thomas Heller
-
Uwe Zeisberger