Title: GitHub · Where software is built
Open Graph Title: open-lasso-python/lasso-python
X Title: open-lasso-python/lasso-python
Description: Home of the open-source CAE library lasso-python 🐍 - open-lasso-python/lasso-python
Open Graph Description: Home of the open-source CAE library lasso-python 🐍 - open-lasso-python/lasso-python
X Description: Home of the open-source CAE library lasso-python 🐍 - open-lasso-python/lasso-python
Opengraph URL: https://github.com/open-lasso-python/lasso-python
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Compiled Femzip Library References","articleBody":"Compiling with module with Pyinstaller breaks the Femzip Library References, requiring /lasso/femzip/*.dll's and .so's. to be packaged alongside the exe.\r\n\r\nAdditional path update allows library files to be explicitly added during compilation bundled in root of the EXE \u0026 referenced.\r\n\r\nclass FemzipAPI:\r\n \"\"\"FemzipAPI contains wrapper functions around the femzip library.\"\"\"\r\n\r\n _api: Union[None, CDLL] = None\r\n\r\n @staticmethod\r\n def load_dynamic_library(path: str) -\u003e CDLL:\r\n \"\"\"Load a library and check for correct execution\r\n\r\n Parameters\r\n ----------\r\n path: str\r\n path to the library\r\n\r\n Returns\r\n -------\r\n library: CDLL\r\n loaded library\r\n \"\"\"\r\n\r\n # check executable rights\r\n if not os.access(path, os.X_OK) or not os.access(path, os.R_OK):\r\n if getattr( sys, 'frozen', False ):\r\n # running in a bundle\r\n path = os.path.join(sys._MEIPASS, os.path.basename(path)) \r\n os.chmod(path, os.stat(path).st_mode | stat.S_IEXEC | stat.S_IREAD)\r\n if not os.access(path, os.X_OK) or not os.access(path, os.R_OK):\r\n err_msg = \"Library '{0}' is not executable and couldn't change execution rights.\"\r\n raise RuntimeError(err_msg.format(path))\r\n\r\n return CDLL(path)\r\n","author":{"url":"https://github.com/Vortex-CAE","@type":"Person","name":"Vortex-CAE"},"datePublished":"2023-10-11T17:31:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/44/lasso-python/issues/44"}
| route-pattern | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:ec727062-139d-2b01-0682-15d6b7d42b24 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B470:32F647:12AD3A7:19A1B82:698DABEE |
| html-safe-nonce | c48189c58bc889be2f5204518a424c394cf6d6456f5eecb91b982f892ef301d2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDcwOjMyRjY0NzoxMkFEM0E3OjE5QTFCODI6Njk4REFCRUUiLCJ2aXNpdG9yX2lkIjoiMjM4Njk2NjcyMjYzODYyMTY3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d40f13072576b5a20be9446626af92406cb05fac158296b4d8447692e8f281b9 |
| hovercard-subject-tag | repository:540129748 |
| 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/open-lasso-python/lasso-python/issues/44 |
| twitter:image | https://opengraph.githubassets.com/01b42f91463e26384bb501ff61462b604671149f7fcae0a5f50e07e95d3eb479/open-lasso-python/lasso-python |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/01b42f91463e26384bb501ff61462b604671149f7fcae0a5f50e07e95d3eb479/open-lasso-python/lasso-python |
| og:image:alt | Home of the open-source CAE library lasso-python 🐍 - open-lasso-python/lasso-python |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8c7947c0c592efeab6162b9909ad11fa43bff8b0cb5ff43273dc25e41979d43e |
| turbo-cache-control | no-cache |
| go-import | github.com/open-lasso-python/lasso-python git https://github.com/open-lasso-python/lasso-python.git |
| octolytics-dimension-user_id | 114169132 |
| octolytics-dimension-user_login | open-lasso-python |
| octolytics-dimension-repository_id | 540129748 |
| octolytics-dimension-repository_nwo | open-lasso-python/lasso-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 540129748 |
| octolytics-dimension-repository_network_root_nwo | open-lasso-python/lasso-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 | b22a9fbf4dea601ec149a9e5362e0558df79b505 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width