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

feat: use python_site_packages_path field when available for installing noarch: python packages, CEP-17 #909

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jjhelmus
Copy link

Description

Use the python_site_packages_path field from repodata to set the directory when noarch: python packages get installed as specified in CEP-17.

This the start of an implementation. Wanted to get feedback on the approach before updating other crates and tests.

The IndexJson and PackageRecord struct include an optional
python_site_packages_path field as specified in CEP-17.
When specified in the packages repodata entry, use the
"python_site_packages_path" field for the location of the
site_packages_path.
@jjhelmus jjhelmus changed the title Use python_site_packages_path field when available for installing noarch: python packages, CEP-17 feat: use python_site_packages_path field when available for installing noarch: python packages, CEP-17 Oct 21, 2024
@baszalmstra
Copy link
Collaborator

This totally seems like the right approach! 👍

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