boostorg / boostorg/build

support PEP-3149 when installing python-extensions

Open
#321 1 comment 0 reactions 0 assignees View on GitHub
transition
Dominant language
C++
Stars
251
Forks
63
PR merge metrics
No merged PRs in 30d

Description

Python extensions, like `mpi.so` should not be staged as `mpi.so` but instead should be staged as e.g. `mpi.cpython-32mu.so` where the suffix or tag can be figured out with

```
>>> sysconfig.get_config_var('EXT_SUFFIX')
'.cpython-32mu.so'
>>> sysconfig.get_config_var('SOABI')
'cpython-32mu'
```

Such that PEP-3149 becomes supported, and one can trivially reuse the same stagedir for multiple python builds.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.