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

Fix path search upon python3 -m maturin #1038

Merged
merged 2 commits into from
Aug 5, 2022
Merged

Conversation

bhrollins
Copy link
Contributor

sysconfig.get_path was insufficient on my machine as it was unable to resolve my scripts directory without an explicit scheme="nt_user" invocation (Windows 11 running Python 3.10.6). Intention here was to implement a more generic method of resolving scripts directories. There may be more idiomatic ways to achieve this behavior, as well as more useful error messages than what are provided in this solution.

`sysconfig.get_path` was insufficient on my machine as it was unable to resolve my `scripts` directory without an explicit `scheme="nt_user"` invocation (Windows 11 running Python 3.10.6). Intention here was to implement a more generic method of resolving `scripts` directories. There may be more idiomatic ways to achieve this behavior, as well as more useful error messages than what are provided in this solution.
@netlify
Copy link

netlify bot commented Aug 4, 2022

Deploy Preview for maturin-guide canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit 3ff682e
🔍 Latest deploy log https://app.netlify.com/sites/maturin-guide/deploys/62ec1bcdf7bd74000969764e

In my haste to submit a pull-request I neglected to check format. Apologies.
Copy link
Member

@messense messense left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@messense messense merged commit 2876dbe into PyO3:main Aug 5, 2022
bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request Aug 15, 2022
https://build.opensuse.org/request/show/995047
by user mia + dimstar_suse
- Update to v0.13.2
  * Add Linux mips64el architecture support
    gh#PyO3/maturin#1023
  * Add Linux mipsel architecture support
    gh#PyO3/maturin#1024
  * Add Linux 32-bit powerpc architecture support
    gh#PyO3/maturin#1026
  * Add Linux sparc64 architecture support
    gh#PyO3/maturin#1027
  * Bump anyhow from 1.0.58 to 1.0.59
    gh#PyO3/maturin#1031
  * Bump serde from 1.0.140 to 1.0.141
    gh#PyO3/maturin#1032
  * Bump clap from 3.2.15 to 3.2.16
    gh#PyO3/maturin#1033
  * Bump tracing from 0.1.35 to 0.1.36
    gh#PyO3/maturin#1035
  * Bump dialoguer from 0.10.1 to 0.10.2
    gh#PyO3/maturin#1034
  * Add PEP 440 local version identifier support
    gh#PyO3/maturin#1037
  * Fix path search upon python3 -m maturin
    gh#PyO3/maturin#1038
  * Update cargo-zigbuild to 0.12.0
    g
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