dependency "path/to/file.hpp" won't be automatically included in the manifest: the path must be relative? #4181
Replies: 1 comment
-
I think, I'll need more information on what exactly you are doing and what are you expecting to happen here. This warning message is triggered during the If these paths are actually absolute (e.g. I think, there is no "one size fits all" way to fix this, but here are some options: If you think, that these headers are guaranteed to be already present on all relevant machines or if you don't care about source distributions of your package (beyond the fact that they are used under the hood for The other option would be to vendor these headers inside your project and then specify the paths to the vendored files, so that they ARE included in the Let me know if you think that these options are not applicable to your use case. These warnings were mostly included to warn about unexpected situations, where the user is seemingly asking us to include absolute paths in the sdist/manifest. Edit: minor correction, in the case of building |
Beta Was this translation helpful? Give feedback.
-
Since our last setuptools update we see a message like the following:
It is a bit annoying in our ci logs. 😉
All listed files header files are dependencies from static libraries, which are used to build a C-Python extension with setuptools.
Looks like @RuRo introduced this message in Include Extension.depends in manifests and sdists by default - setuptools/command/build_ext.py#L284-L286.
Please also keep in mind we are using
bdist_wheel
tp create binary wheels.I do have the following questions:
Beta Was this translation helpful? Give feedback.
All reactions