-
-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maturin sdists fails on Windows when using local dependencies #579
Comments
It seems that on Windows cargo prints maturin/src/source_distribution.rs Line 175 in 3e2b8b0
extracts /Y:/Downloads/pywinpty/findlib with a leading slash which caused the error.
Change the offending line to |
BTW, your |
Hi @messense, thanks for the heads up! I've just updated pywinpty accordingly |
@andfoy Please try v0.11.0-beta.5: |
Please provide the following information:
python -V
): 3.xpip -V
):pyo3
,rust-cpython
orcffi
): 0.13.2cargo build
work? Yes/
)? YesHi,
I've been trying to provide a source distribution for pywinpty (https://github.com/spyder-ide/pywinpty), which only works for Windows. This package depends on pywinpty_findlib, which is a local dependency that is specified in the Cargo.toml as follows:
When I try to invoke
maturin sdist
, it fails with the following message:My guess is that for some reason, forward and backward slashes are getting mixed up, which is preventing the correct localization of the local dependency
Cargo.toml
. This also occurs when callingmaturin build
, but not when callingmaturin develop
The text was updated successfully, but these errors were encountered: