开发者

How to add dll's using py2exe?

开发者 https://www.devze.com 2022-12-30 17:42 出处:网络
I use a c++ dll in 开发者_Go百科python. That dll uses other dlls. I want to know if it\'s possible to include all the dll\'s in my .exe using py2exe without calling them directlly. If so, how can I d

I use a c++ dll in 开发者_Go百科python. That dll uses other dlls.

I want to know if it's possible to include all the dll's in my .exe using py2exe without calling them directlly. If so, how can I do it?

Thanks in advance :)


You may need a data_files= referencing all of those DLLs, perhaps with a wildcard. See the docs for an example (about specifically the MS runtime DLL). Note, as the docs say a million times, that you need legal rights to redistribute DLLs and those need to be obtained from the DLL's authors/owners -- don't just assume it's legally OK to redistribute them!-)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号