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

Use the extension_name in develop builds #1416

Merged
merged 1 commit into from
Jan 18, 2023

Conversation

badboy
Copy link
Contributor

@badboy badboy commented Jan 17, 2023

This is the same now as for non-develop builds.
If a user sets package.metadata.maturin the import in other Python files will reference that name.
For develop builds to also work it needs to have the same name.


At least in a local build for me this makes it work as expected. Not sure if that breaks others now though.

This is the same now as for non-develop builds.
If a user sets `package.metadata.maturin` the import in other Python
files will reference that name.
For develop builds to also work it needs to have the same name.
@netlify
Copy link

netlify bot commented Jan 17, 2023

Deploy Preview for maturin-guide ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit e74aa34
🔍 Latest deploy log https://app.netlify.com/sites/maturin-guide/deploys/63c70af356eff90009cdca17
😎 Deploy Preview https://deploy-preview-1416--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
Copy link
Member

Thanks, can you share an example that doesn't work currently for future reference?

bors r+

@bors
Copy link
Contributor

bors bot commented Jan 18, 2023

@bors bors bot merged commit 22221e9 into PyO3:main Jan 18, 2023
@badboy badboy deleted the use-extension-name-for-develop-build branch January 18, 2023 09:19
@badboy
Copy link
Contributor Author

badboy commented Jan 18, 2023

Thanks, can you share an example that doesn't work currently for future reference?

Sure thing: https://github.com/badboy/maturin-uniffi-hello-world

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.

None yet

2 participants