From: Robert K. <rob...@gm...> - 2006-08-09 01:47:13
|
Bill Baxter wrote: > Wouldn't it make more sense to just rename the .pyd generated by > distutils to .dll or .so? Especially since the .pyd generated by > distutils won't actually be a python extension module. This renaming > could be automated by a simple python script that wraps distutils. The > addition of the init{modulename} function could also be done by that > script. The strategy of "post-processing" after the setup() is not really robust. I've encountered a number of packages that try to things like that, and I've never had one work right. And no, it won't solve the init{modulename} problem, either. It's a problem that occurs at build-time, not import-time. -- 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 |