[Python-Dev] addressing distutils inability to track file dependencies

Fredrik Lundh fredrik@pythonware.com
Fri, 14 Jun 2002 13:25:38 +0200


> the following is a bit more reliable (windows version):
>=20
>     rd /s /q build
>     python setup.py build
>     rd /s /q install
>     python setup.py install --prefix install
>     copy install\*.pyd .

except that the PYD ends up under install\lib\site-packages
in some versions of distutils, of course...

brute-force workaround:

     copy install\*.pyd .
     copy install\lib\site-packages\*.pyd .

</F>