|
|
|
|
|
by lucky_cloud
1653 days ago
|
|
For something like a command line tool, you can package a dedicated python runtime with external dependencies preinstalled and treat it as a virtualenv. Maybe not the most elegant solution, but it works. iTerm2 does this for its Python scripting API. Another option is to just include the required libraries in your package and have the executable add the paths via sys.addsitedir. Pipenv installed via Homebrew does this. |
|
As a developer, I have to take special care to distribute the application in a way that works for all kinds of setups.
I trust distros to do the integration work a lot better. For tools like youtube-dl or quodlibet, distro packages work quite well.