Replies: 2 comments 6 replies
-
It'd be better if you linked the source code of your project. Or some examples, at least. I'm not a windows person myself but I'd like to point out that people normally don't include pre-existing C-extensions into wheels but compile them when building wheels from the source. Also, if those DLLs are not C-extensions but really some data that your package loads/uses in runtime, maybe use Oh, and look at https://cibuildwheel.rtfd.io that may be helpful to you for building a huge matrix of wheels... I can't offer you a more specific answer because I'm not sure what you're asking exactly. I've found that the distutils command |
Beta Was this translation helpful? Give feedback.
-
I've solved it for me at least, I have to manually add the dll path.
|
Beta Was this translation helpful? Give feedback.
-
I have a package I distribute that has wheels for OSX, Linux, and Windows. On Windows I include a DLL file. I've always specified this in
data_files
in the call tosetup()
, which I copied from an older package I took over maintenance of. This has always worked when I've tested it on Windows. Apparently it's wrong though. What's the right thing?Occasionally I get reports from Windows users that their package was installed without a DLL somehow. There's no clear pattern to these users, or none that I can recognize at least. I learned that the way I was specifying things was wrong when I asked what was going on at the pip repo - they say I should use
platlib
. I am not sure howplatlib
relates to setuptools, and neither were the pip devs.Note I don't really know anything about Windows programming and only do it as part of supporting this or other packages I maintain.
Beta Was this translation helpful? Give feedback.
All reactions