Title: New sysconfig API: Install paths · Issue #103481 · python/cpython · GitHub
Open Graph Title: New sysconfig API: Install paths · Issue #103481 · python/cpython
X Title: New sysconfig API: Install paths · Issue #103481 · python/cpython
Description: Feature or enhancement We should replace sysconfig.get_paths() with something that can accurately describe the current reality. Pitch The new API should: Support optional paths (eg. not all schemes can provide a scripts directory) Introd...
Open Graph Description: Feature or enhancement We should replace sysconfig.get_paths() with something that can accurately describe the current reality. Pitch The new API should: Support optional paths (eg. not all schemes...
X Description: Feature or enhancement We should replace sysconfig.get_paths() with something that can accurately describe the current reality. Pitch The new API should: Support optional paths (eg. not all schemes...
Opengraph URL: https://github.com/python/cpython/issues/103481
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"New sysconfig API: Install paths","articleBody":"# Feature or enhancement\r\n\r\nWe should replace `sysconfig.get_paths()` with something that can accurately describe the current reality.\r\n\r\n# Pitch\r\n\r\nThe new API should:\r\n - Support optional paths (eg. not all schemes can provide a `scripts` directory)\r\n - Introduce the concept of writable and read-only paths (this should be the default for `stdlib` for eg.)\r\n - Introduce the concept of active location schemes (eg. `posix_user` should not be available on virtual environments)\r\n\r\n## API design\r\n\r\n# Previous discussion\r\n\r\nhttps://discuss.python.org/t/building-extensions-modules-in-a-post-distutils-world/23938\r\nhttps://discuss.python.org/t/pep-582-python-local-packages-directory/963/391\r\nhttps://discuss.python.org/t/linux-distro-patches-to-sysconfig-are-changing-pip-install-prefix-outside-virtual-environments/18240/28\r\nhttps://discuss.python.org/t/deprecating-the-headers-wheel-data-key/23712\r\n\r\nNew `sysconfig` API meta-issue: GH-103480","author":{"url":"https://github.com/FFY00","@type":"Person","name":"FFY00"},"datePublished":"2023-04-12T18:48:08Z","url":"https://github.com/python/cpython/issues/103481"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:475e5035-9c18-daa4-f741-a4ad3df08739 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 91C0:1F2B:26DBAC:34145C:6B0211FB |
| html-safe-nonce | dd31947e87d5164f2c9ed0185bf3caf1fa0369316ec84084f87c5bd462c93794 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MUMwOjFGMkI6MjZEQkFDOjM0MTQ1Qzo2QjAyMTFGQiIsInZpc2l0b3JfaWQiOiIxOTU1NTQ5MjA2Mzc4ODQ0NjY3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ec13e4fabca3f4d18f601897f15a552cf23a12076f71f1aa205b9d4d6f37b602 |
| hovercard-subject-tag | issue:1665071387 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/103481/issue_layout |
| twitter:image | https://opengraph.githubassets.com/38a4ba3200bc81a22356ff33052bcca94aa02a48c98c29bf937ca18a24c90383/python/cpython/issues/103481 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/38a4ba3200bc81a22356ff33052bcca94aa02a48c98c29bf937ca18a24c90383/python/cpython/issues/103481 |
| og:image:alt | Feature or enhancement We should replace sysconfig.get_paths() with something that can accurately describe the current reality. Pitch The new API should: Support optional paths (eg. not all schemes... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | FFY00 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width