[Distutils] Removing the hack from setup.py - Setup.py as a Class, not a Procedure

P.J. Eby pje at telecommunity.com
Wed Jul 22 07:32:25 CEST 2009


At 12:59 AM 7/22/2009 -0400, David Lyon wrote:
>But installing .dll files on windows is 100% neccessary in many
>"normal-use" cases. It's just not out of the ordinary.

You can get setuptools to build *and* install them for you, 
actually.  It's just not documented, since the feature is not 
well-supported on all platforms.  (Windows is actually about the only 
platform it works properly on out of the box!)

If you look at the tests/shlib_test directory in the setuptools 
source, there's an example setup script that builds and installs a 
.pyd and .dll when run on Windows.



More information about the Distutils-SIG mailing list