How to distribute an additional DLL to site-packages?

Bo Peng bpeng at rice.edu
Fri Dec 22 13:00:41 EST 2006


> I am writing a python extension module that needs to link with a 
> third-party DLL. How can I copy this DLL to the site-packages directory 
> along with my extension modules? It seems that data_files parameter can 
> do this, but I do not know how to get the absolute destination 
> directory. After all, this directory is configurable.

So nobody has ever done this???

Bo



More information about the Python-list mailing list