-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
package into a single binary? #227
Comments
Signal-cli would probably always need to be installed separately, as it depends on the native libraries. Even if we decided to package the most common Otherwise, installing scli with If your use-case involves frequent reinstalls, or installs on multiple systems, then you can actually make use of python's virtual environments to download all the (recursive) dependencies, that can later be reused. Finally, there are some third-party packages for (a few) systems. |
thank you for responding. for me, it's a patter of package management aesthetics, although you bring up several good points. urwid is also too new in my distro for it to be used with scli, hence i have to revert to using venv, which brings on another plethora of issues as i am syncing binaries between a few different linux machines. i don't mind having a build step that packages it into a binary (although if there was, then that would likely be done in ci anyway), but i generally dislike having to move 10s or 100s of files split between the app i want to run and dependencies of unusual versions installed all around my system. i'm exaggerating a bit here, but i think you get the idea. optimally, it would be packaged into a single file (i could even see a python runnable zip-archive as a feasible option). it just feels "flimsy" and fragile to have all these files, as compared to, say. gurk, which is literally a single binary file. |
Scli should work with any version of urwid. (Tested with the latest released v2.6.16). If it does not - that's a bug, and should be a separate issue.
For a pure-rust project it makes sense to release the compiled binary builds. It might help if you provide more details on what your use-case is. For most users executing |
on my system (void), urwid is 2.2.3 and 0.14 for readline. last time i tested, it does not run, meaning i have to setup a separate python venv. as for doing pip install, it is not possible to do on managed systems without setting up a venv, which i want to avoid. imho, scli is not packaged well (unfortunately true for many python apps). |
If you can reproduce it, please open a new issue.
It should be possible to install pip itself, as well as the packages through it, as a regular (non-root) user.
It's doable to bundle scli and all of its dependencies (including signal-cli for a particular platform). But that job is better handled by the people responsible for creating packages for a particular distro or other software distribution methods. |
i love scli, but i hate that it's not really stand-alone. would it be possible to package it into a single, binary package that runs without having to install deps and/or set up a pyenv? if so, how?
The text was updated successfully, but these errors were encountered: