Robert Kern wrote: > [EMAIL PROTECTED] wrote: > >> So finally, my question is, is there a way to get distutils to simply >> build a shared library on windows so that I can use ctypes with them??? > > Not out-of-box, no. The OOF2 project has added a bdist_shlib command which > should do most of what you want, though. It's somewhat UNIX-oriented, and I > think it tries to install the shared library to a standard location (e.g. > /usr/local/lib). You might want to modify it to install the shared library in > the package so it is easy to locate at runtime. > > http://www.ctcms.nist.gov/oof/oof2/ > http://www.ctcms.nist.gov/oof/oof2/source/oof2-2.0.1.tar.gz > > The code is in the shlib/ subdirectory.
And if you do so, please let us know about it! This would be quite useful for many other ctypes-using projects. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco -- http://mail.python.org/mailman/listinfo/python-list