Cross-platform package with associated dependencies

I need an easy way to distribute a Python project with all its dependencies included . I don't need something like PyInstaller: I need to distribute the same cross-platform package to every user. Recompiling on every OS is not an option.

When copying and installing on another system, dependencies should be selected from the package (not from the Internet). Ideally they should be installed in an isolated environment relative to this package.

Is it possible?

For those who know Ruby:

In Ruby using Bundler, launching bundle package --all-platforms

will copy all my dependencies to ./vendor/cache/

in the project folder.

Then on another machine, I can run bundle install --deployment

and it will install the dependencies ./vendor/cache

to the local path ./vendor/bundle

.

I am looking for a similar procedure with Python.

+3


source to share





All Articles