Title: Feature request : specify python lib at runtime for coreclr · Issue #804 · pythonnet/pythonnet · GitHub
Open Graph Title: Feature request : specify python lib at runtime for coreclr · Issue #804 · pythonnet/pythonnet
X Title: Feature request : specify python lib at runtime for coreclr · Issue #804 · pythonnet/pythonnet
Description: Environment Pythonnet version: 2.4.0 Python version: 3.6 Operating System: Windows/Linux Details Describe what you were trying to get done. My use case is using Python.Runtime from c#/f#, I use generated nuget packages from visual studio...
Open Graph Description: Environment Pythonnet version: 2.4.0 Python version: 3.6 Operating System: Windows/Linux Details Describe what you were trying to get done. My use case is using Python.Runtime from c#/f#, I use gen...
X Description: Environment Pythonnet version: 2.4.0 Python version: 3.6 Operating System: Windows/Linux Details Describe what you were trying to get done. My use case is using Python.Runtime from c#/f#, I use gen...
Opengraph URL: https://github.com/pythonnet/pythonnet/issues/804
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Feature request : specify python lib at runtime for coreclr","articleBody":"### Environment\r\n\r\n- Pythonnet version: 2.4.0\r\n- Python version: 3.6\r\n- Operating System: Windows/Linux\r\n\r\n### Details\r\n\r\n- Describe what you were trying to get done.\r\n\r\nMy use case is using Python.Runtime from c#/f#, I use generated nuget packages from visual studio. \r\nI got one on my Windows developper machine and I have to make another for deploying to docker/linux, which is painful.\r\nProblem is that for each platform I have to switch the target (ReleaseMonoPY3 and ReleaseWindowsPy3 for example). Currently I have to manage several .nupkg by hand with absolutely no way to distinguish between them (there are all Python.Runtime 2.4.0/netstandard, not platform tagging)\r\n\r\nIdeally, I would like to have python lib runtime library and os specified and/or detectable at runtime. \r\nsomething like \r\n```\r\nif (linux)\r\n PythonEngine.PythonLib \u003c- \"/usr/lib/libpython.3.6m\"\r\nelse \r\n PythonEngine.PythonLib \u003c- \"python36.dll\"\r\n```","author":{"url":"https://github.com/fradav","@type":"Person","name":"fradav"},"datePublished":"2019-01-15T10:30:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/804/pythonnet/issues/804"}
| 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:f3826528-5d9d-2331-8ae7-dd6b4b8cca1c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D29E:1D70A4:1C11A5D:26E4BF8:6971F5BB |
| html-safe-nonce | d9aee463e34863928744c8015e55593ed5c054cf18097e7ec9e30bd1f60421e0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjlFOjFENzBBNDoxQzExQTVEOjI2RTRCRjg6Njk3MUY1QkIiLCJ2aXNpdG9yX2lkIjoiMzU2MDM3NjkyNjM0NzU4OTA1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3fde83022185bf048915a0742578575dc6bc4602fe9164bba00438aef90faebe |
| hovercard-subject-tag | issue:399280980 |
| 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/pythonnet/pythonnet/804/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a5226b323144584f3d917b4137211f98072b647788af8e72aae1ab93efcbd9d1/pythonnet/pythonnet/issues/804 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a5226b323144584f3d917b4137211f98072b647788af8e72aae1ab93efcbd9d1/pythonnet/pythonnet/issues/804 |
| og:image:alt | Environment Pythonnet version: 2.4.0 Python version: 3.6 Operating System: Windows/Linux Details Describe what you were trying to get done. My use case is using Python.Runtime from c#/f#, I use gen... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | fradav |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d9da1aa47d387dfb2aca0f2e5c19150dc936b8128a6b2ecd6a02fc26a378fff |
| turbo-cache-control | no-preview |
| go-import | github.com/pythonnet/pythonnet git https://github.com/pythonnet/pythonnet.git |
| octolytics-dimension-user_id | 6050430 |
| octolytics-dimension-user_login | pythonnet |
| octolytics-dimension-repository_id | 14748123 |
| octolytics-dimension-repository_nwo | pythonnet/pythonnet |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14748123 |
| octolytics-dimension-repository_network_root_nwo | pythonnet/pythonnet |
| 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 | 4332d3e3368b9bce3dfd3c4a2643112933072734 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width