My modules stub file is not included in the wheel #2079
Answered
by
konstin
gaborbernat
asked this question in
Q&A
-
https://github.com/gaborbernat/pyproject-fmt-rust/blob/main/src/pyproject_fmt/_lib.pyi [tool.maturin]
bindings = "pyo3"
manifest-path = "Cargo.toml"
module-name = "pyproject_fmt._lib"
python-source = "src"
strip = true
include = [
"rust-toolchain.toml",
] Any idea why? |
Beta Was this translation helpful? Give feedback.
Answered by
konstin
May 9, 2024
Replies: 1 comment 1 reply
-
It's in your |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
gaborbernat
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's in your
.gitignore
(https://github.com/gaborbernat/pyproject-fmt-rust/blob/372267491742c7be2260a5346434609c355a3c64/.gitignore#L10), by default we respect your gitignore when including files in the wheel. I think you're hitting https://stackoverflow.com/questions/11451535/gitignore-is-ignored-by-git too