Skip to content

Conversation

@kmod
Copy link
Contributor

@kmod kmod commented Sep 16, 2021

In particular this supports Pyston, which has an additional
format field in these path schemes. Instead of manually
specifying which fields we think exist, do what I assume is the
intention of using the default field values for everything
except for the few that we want to override.

I believe @mattip wrote this code originally

In particular this supports Pyston, which has an additional
format field in these path schemes. Instead of manually
specifying which fields we think exist, do what I assume is the
intention of using the default field values for everything
except for the few that we want to override.
@kmod
Copy link
Contributor Author

kmod commented Sep 17, 2021

I was worried about there being a semantic difference between sys.platlibdir and sysconfig.get_config_var("platlibdir"), but it looks like the sysconfig entry just comes from sys.platlibdir anyway, so good idea I removed that line.

@seberg
Copy link
Member

seberg commented Sep 17, 2021

Thanks! Looks right to me. And since this only affects developers anyway, lets put it in.

@seberg seberg merged commit 80c28d1 into numpy:main Sep 17, 2021
@kmod kmod deleted the support_pyston branch September 17, 2021 21:49
kmod added a commit to kmod/pyston that referenced this pull request Sep 17, 2021
When I first tried this we had an issue with their test runner, but I fixed it here:
numpy/numpy#19884
kmod added a commit to kmod/pyston that referenced this pull request Sep 18, 2021
When I first tried this we had an issue with their test runner, but I fixed it here:
numpy/numpy#19884
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants