You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In your setup.py or in another post-install step, as this would avoid any changes at runtime (you would still need to have write permissions initially). Perhaps this should be noted more explicitly in the docs that this avoids changing the package's state.
Otherwise if you need a way to change the module path, feel free to open a PR.
not helpful on nixos, becaues __dirname always evals to /nix/store/95x44fm60xp1mqa4s5jf7036cl4hgchh-javascript-1.1.2/lib/python3.10/site-packages/javascript/js
which is always read-only for packages using JSPyBridge
generally, storing state in site-packages is just wrong
like linux apps dont store state in /usr/lib
this is just wrong...
JSPyBridge/src/javascript/js/deps.js
Lines 7 to 9 in fcec267
this will try to install NPM packages to
/lib/python3.10/site-packages/javascript/js/
but
site-packages
should be treated as read-onlyfor example, on nixos this throws
fix
expose-cache-path.patch
now the cache path can be set with
with
JS_PY_BRIDGE_CACHE
is passed to node asNODE_PATH
so this can be multiple paths separated by
:
example use
The text was updated successfully, but these errors were encountered: