Title: Packaging: "Guard" calls to `setuptools.setup()` behind `if __name__ == '__main__'` · Issue #4295 · googleapis/google-cloud-python · GitHub
Open Graph Title: Packaging: "Guard" calls to `setuptools.setup()` behind `if __name__ == '__main__'` · Issue #4295 · googleapis/google-cloud-python
X Title: Packaging: "Guard" calls to `setuptools.setup()` behind `if __name__ == '__main__'` · Issue #4295 · googleapis/google-cloud-python
Description: This way our setup.py files could be imported (for example). This is low-priority, but an easy change to make.
Open Graph Description: This way our setup.py files could be imported (for example). This is low-priority, but an easy change to make.
X Description: This way our setup.py files could be imported (for example). This is low-priority, but an easy change to make.
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/4295
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Packaging: \"Guard\" calls to `setuptools.setup()` behind `if __name__ == '__main__'`","articleBody":"This way our `setup.py` files could be imported (for example).\r\n\r\nThis is low-priority, but an easy change to make.","author":{"url":"https://github.com/dhermes","@type":"Person","name":"dhermes"},"datePublished":"2017-10-31T19:32:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/4295/google-cloud-python/issues/4295"}
| 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:91288a17-acef-1250-2ae1-35140abdc221 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B09E:1C4EB2:3BB138:4EBEB6:6A4D2F9C |
| html-safe-nonce | 69abe449fdab1df6b108866de68192d2311169bf834ff40483c4f2b64521c2ee |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDlFOjFDNEVCMjozQkIxMzg6NEVCRUI2OjZBNEQyRjlDIiwidmlzaXRvcl9pZCI6IjgyMTIyODI5Njg0NjQyNDA1NDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 439f0f9f10fe6ded4cd2b77b5042849aa1cc5ba990076c42703fb60b70f71e73 |
| hovercard-subject-tag | issue:270091409 |
| 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/googleapis/google-cloud-python/4295/issue_layout |
| twitter:image | https://opengraph.githubassets.com/61cfc04108af6891052bc9b9d8c31cb066c0f62b17015a1eeacaf7f4364459e7/googleapis/google-cloud-python/issues/4295 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/61cfc04108af6891052bc9b9d8c31cb066c0f62b17015a1eeacaf7f4364459e7/googleapis/google-cloud-python/issues/4295 |
| og:image:alt | This way our setup.py files could be imported (for example). This is low-priority, but an easy change to make. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dhermes |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 16316451 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16316451 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-python |
| 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 | 93f17a978ee60bc4668e1d7b90e6bd2d622261fd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width