Title: use pasteurize in setuptools, similarly to use_2to3 · Issue #266 · PythonCharmers/python-future · GitHub
Open Graph Title: use pasteurize in setuptools, similarly to use_2to3 · Issue #266 · PythonCharmers/python-future
X Title: use pasteurize in setuptools, similarly to use_2to3 · Issue #266 · PythonCharmers/python-future
Description: Would there be a way to use pasteurize in setuptools similarly to use_2to3? i.e., only commit Py3 code, but have a setup.py that contains something like setup(..., use_pasteurize=True) and have the code be pasteurized when installing (an...
Open Graph Description: Would there be a way to use pasteurize in setuptools similarly to use_2to3? i.e., only commit Py3 code, but have a setup.py that contains something like setup(..., use_pasteurize=True) and have the...
X Description: Would there be a way to use pasteurize in setuptools similarly to use_2to3? i.e., only commit Py3 code, but have a setup.py that contains something like setup(..., use_pasteurize=True) and have the...
Opengraph URL: https://github.com/PythonCharmers/python-future/issues/266
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"use pasteurize in setuptools, similarly to use_2to3","articleBody":"Would there be a way to use pasteurize in setuptools similarly to use_2to3? i.e., only commit Py3 code, but have a setup.py that contains something like\r\n```\r\nsetup(..., use_pasteurize=True)\r\n```\r\nand have the code be pasteurized when installing (and testing) on Py2.\r\n\r\nThe idea is that pasteurized code can look quite \"ugly\" (e.g. keyword only arguments), so I'd rather not keep it committed, but with a good test suite, I can still make sure that the pasteurized version always works on Py2.","author":{"url":"https://github.com/anntzer","@type":"Person","name":"anntzer"},"datePublished":"2017-01-24T19:34:50Z","url":"https://github.com/PythonCharmers/python-future/issues/266"}
| 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:0ce396e5-dfff-ab21-b993-e1ec806086c7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 825A:339D75:526945:743EAE:6B0417A1 |
| html-safe-nonce | eae3b4b1993924c55513b08921ab4c754b17285de57746079836de6c9b3a4026 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjVBOjMzOUQ3NTo1MjY5NDU6NzQzRUFFOjZCMDQxN0ExIiwidmlzaXRvcl9pZCI6IjQyNDM3MzQ3MTU5ODA1ODQ4NjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2eaec16969d0b638631b097fcfce39a866cb4ad89135e86572c5781779a5e512 |
| hovercard-subject-tag | issue:202917892 |
| 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/PythonCharmers/python-future/266/issue_layout |
| twitter:image | https://opengraph.githubassets.com/05261ec804121937806a543aee834e1c60c703f41d80ef3645009d96e62de65c/PythonCharmers/python-future/issues/266 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/05261ec804121937806a543aee834e1c60c703f41d80ef3645009d96e62de65c/PythonCharmers/python-future/issues/266 |
| og:image:alt | Would there be a way to use pasteurize in setuptools similarly to use_2to3? i.e., only commit Py3 code, but have a setup.py that contains something like setup(..., use_pasteurize=True) and have the... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anntzer |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/PythonCharmers/python-future git https://github.com/PythonCharmers/python-future.git |
| octolytics-dimension-user_id | 3365815 |
| octolytics-dimension-user_login | PythonCharmers |
| octolytics-dimension-repository_id | 11403699 |
| octolytics-dimension-repository_nwo | PythonCharmers/python-future |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 11403699 |
| octolytics-dimension-repository_network_root_nwo | PythonCharmers/python-future |
| 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:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width