3 ms·
So far bundling the dependencies seems best since it's the easiest and I can live with the redundant space usage / extra size. Using poetry, `poetry build` will
by monroewalker 3y ago
So far bundling the dependencies seems best since it's the easiest and I can live with the redundant space usage / extra size. Using poetry, `poetry build` will build a wheel for the plugin. Then `pip install path/to/wheel.whl --target /path/to/some/folder` to create a folder that has the plugin with all its dependencies. After zipping that and moving it to another machine, `PYTHONPATH=some/dir python3 some/dir/myapp/__init__.py` works to run the plugin.
https://stackoverflow.com/questions/26059111/build-a-wheel-egg-and-all-dependencies-for-a-python-project https://stackoverflow.com/questions/26059111/build-a-wheel-e...