Skip to content
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

Add a --target option to maturin list-python command #957

Merged
merged 1 commit into from
Jun 8, 2022

Conversation

messense
Copy link
Member

@messense messense commented Jun 8, 2022

No description provided.

@netlify
Copy link

netlify bot commented Jun 8, 2022

Deploy Preview for maturin-guide ready!

Name Link
🔨 Latest commit 8f0e218
🔍 Latest deploy log https://app.netlify.com/sites/maturin-guide/deploys/62a0a265c3e0ad00083d127b
😎 Deploy Preview https://deploy-preview-957--maturin-guide.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@messense messense merged commit 9042c79 into PyO3:main Jun 8, 2022
@messense messense deleted the list-python branch June 8, 2022 13:50
@Skelectric
Copy link

Skelectric commented Sep 27, 2022

How does this option work on Windows? Maturin isn't finding all the python interpreters in my environment, so I'm trying to use this option to pass the path directly but I cannot get it to work.

I've tried the following (where PATH = 'D:\Users\[me]\miniconda3\envs\dev\python.exe', i.e. path that Maturin is ignoring)

maturin list-python --target < PATH > (without spaces)

The '<' operator is reserved for future use.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : RedirectionNotSupported

maturin list-python --target PATH

maturin failed 
Caused by : Unknown target triple PATH

maturin list-python --target --PATH

If you tried to supply '--PATH' as a value rather than a flag, use '-- --PATH'

maturin list-python --target -- --PATH

If you tried to supply '--PATH' as a value rather than a flag, use '-- --PATH'

maturin list-python --target 'PATH'

maturin failed 
Caused by : Unknown target triple PATH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants