Compiling a custom python library
keirr
keir at mooncode.com
Wed Aug 25 12:18:54 EDT 2004
Henning Kage wrote:
> I'm writing a small Python library with some generic classes and
> interfaces, that can be used within other Python projects in our
company.
> Would it be a better solution to compile this library into a Python
DLL
> (and if so, how can it be done) or to distribute the "raw" sourcecode
of
> these classes etc.? What would be the best solution, so that other
> programmers can easily integrate this library into their own
programs?
You might find distutils will work for you,
read about it at http://www.python.org/sigs/distutils-sig/doc/
A 'dll' would work as well - but you loose cross platform
support.
Cheers,
Keir Robinson.
More information about the Python-list
mailing list