20 Jan
2005
20 Jan
'05
6:59 p.m.
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