How to distribute an additional DLL to site-packages?

Bo Peng bpeng at rice.edu
Fri Dec 22 15:59:31 EST 2006


> Use the package_data option. setup(..., packages=['yyy'],
> package_data={'yyy':['xxx.dll']}, ...)
> (Distutils documentation may be arcane sometimes, but this is easily
> found at http://docs.python.org/dist/node12.html)
> Absolute dirs are almost never necesary, usually all distutils commands
> operate on relative paths (relative to location of setup.py for source
> files, relative to some meaningful directory for targets).

I read that page but I am not using package so things are installed to 
site-packages directly. What should I put for 'yyy'?

Bo




More information about the Python-list mailing list