4 ms·
Instead you get to pip install. But pip isn't installed. easy-install pip? What's easy-install - it's not there? (brew|yum|apt-get) disttools. Forget this... do
by falcolas 9y ago
Instead you get to pip install. But pip isn't installed. easy-install pip? What's easy-install - it's not there? (brew|yum|apt-get) disttools. Forget this... download get_pip.py, run python get_pip.py... Some error about libsodium now? Where do I get gcc for Windows 10 again?
Python's greatest weakness is its packaging and distribution, and this project makes no effort to make it simple.
- bb88 9y agoOn the mac, you can: brew install magic-wormhole [1] And that covers 90% of the people that care. Granted I think you're right that software packaging and distribution is still generally broken in 2017, but that's a problem across the board. It's a problem with java, node.js, python, etc. [1] https://github.com/warner/magic-wormhole https://github.com/warner/magic-wormhole
- vacri 9y agoSo... 'brew install rssh' is bad and kludgy, but 'brew install magic-wormhole' is easy and light? And hey, if you're not on a mac, you have to also install a bunch of other deps too. You probably shouldn't have tried to pad out your steps by taking a detour into package management.
- dagw 9y agoAnd that covers 90% of the people that care Disagree. I don't know a single non-programmer with brew installed on their Mac, and non-programmers make up 90% of the people who have the most trouble copying files between two computers.
- bb88 9y agoAnd for those people there is dropbox, google drive, etc.
- philamonster 9y agosysadmin here in MAD world using homebrew since Lion. First thing I did when I got in this morning was to pull out my personal MBP and install magic-wormhole.
- deleted 9y ago[deleted]
- nolemurs 9y agoSo, this tool is intended for users of macs who are comfortable using a shell and use `brew`, but are not comfortable with `ssh`? I'm not even sure I see how this is much easier than ssh if you know the basics.
- ubernostrum 9y agoBut pip isn't installed. It's been bundled with Python for years now, and even if you don't have it, it's easy to get: https://pip.pypa.io/en/latest/installing/ https://pip.pypa.io/en/latest/installing/
- hvnsweeting 9y agoThis is true but not completely. You will only get pip when you install the binary downloaded from python.org. On osx, people use brew, on Debian, they use apt. It is most likely only Windows people will download those binaries but actually they use Anaconda, WinPython instead
- nailer 9y agoWhy are the packages removing pip?
- ubernostrum 9y agoAnaconda provides its own separate package-management world, so it makes sense that it doesn't include pip. But you can always still install it.
- bb88 9y agoI'm actually getting tired of package managers reinventing the wheel (literally) every time they want to install something. In production when I deploy a django app, now I might have two libraries in different places in my system. One from the OS, and one from the pip dependency.
- ubernostrum 9y agoIt's still very easy to install. And as of Python 3.4 it's even easier since you can 'python -m ensurepip'.
- lotharrr 9y agoI'm not gonna argue against that. Using pip-install certainly limits our current audience to people who are comfortable with python packaging tools, which basically means python developers. I'm hoping to get beyond that, once I get the protocol and feature set stabilized. Using something like PyInstaller or py2app to get a single-file executable will be the first step. Porting it to other languages (I've started on SPAKE2 in Rust) might help too. FWIW, "apt install magic-wormhole" now works on Debian (stretch) and Ubuntu (zesty). Also homebrew, as mentioned before. Quick survey: what packaged form would be most useful to you (for desktop usage.. having some kind of iOS/Android app is a whole other beast). PPA? .dmg? .exe? .msi?
- shadowmint 9y agoA stand alone static binary that does not depend on system libraries. Specifically, one that 'just works' on windows, and doesn't require that you open powershell and need to change into an obscure directory to use it, or have the binary sit in a folder full of DLLs to run. In fact, ideally one you don't have to even type anything in; for example, if you can just say; grab this one file from some safe known url (eg. github), and rename it from 'magic.exe' to 'zesty-fruit-324234.exe' and run it.
- gjem97 9y agoFWIW, that's what the Go tools produce by default.
- aabbcc1241 9y agoif only to address the dependency issue, one can rewrite the magic wormhole in go, then do cross-platform compilation and distribute the standalone binaries