Skip to content
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

Installer #66

Closed
jkbrzt opened this issue Jul 11, 2012 · 12 comments
Closed

Installer #66

jkbrzt opened this issue Jul 11, 2012 · 12 comments
Labels
enhancement New feature or enhancement planned Solution is being worked on

Comments

@jkbrzt
Copy link
Member

jkbrzt commented Jul 11, 2012

It's quite complicated to install httpie, especially for non-Python folks. Some Linux distros already include it as a package but most often one still has to use pip or easy_install manually.

It would be great to have an installer that checks whether Python and pip are available and installs them if necessary before installing httpie itself. Something like curl https://raw.github.com/jkbr/httpie/master/install.sh | sh could be made quite universal.

Also, a homebrew recipe would be handy for Mac OSX user.

Related: #58

@davertron
Copy link

+1 to the homebrew recipe.

@dwradcliffe
Copy link

+1 homebrew

@zhuangya
Copy link

+1.

@toxinu
Copy link

toxinu commented Jul 19, 2012

What's difficult with easy_install or pip ?

Python have it's own package manager I think it's not a good idea to repackage every package.

This first cause it's that maintener will probably every time publish it's package on pypi first.
Second, it's a waste of time to support two way of install while it's pip job.

It's the same problem with most of Linux distro, module packaged by distribution are all the time outaded and not every time nicely installed like pip do.

Just run:

easy_install pip
pip install httpie

@pooriaazimi
Copy link

@Socketubs I don't use pip or easy_install, as I'm not a Python guy. All my unix tools are installed with brew, and I update it regularly. If I install HTTPie with pip, I'm sure I'll forget about updating it in a few weeks.

@laurentb
Copy link
Contributor

It won't happen, the homebrew guys don't want to.
"Homebrew doesn’t install gems, eggs, etc. If you want them, read: Gems, Eggs and Perl Modules"
https://github.com/mxcl/homebrew/wiki/Gems%2C-Eggs-and-Perl-Modules

(Don't get me wrong, I think they are misguided, and that howebrew is the worst package manager available on Mac OS, while thinking all the others are horribly bad.)

@jkbrzt
Copy link
Member Author

jkbrzt commented Jul 23, 2012

@Socketubs I haven't looked into this very thoroughly but the preliminary idea is that the Homebrew formula would be just a wrapper around pip (it would also install it first if necessary).

@laurentb You are right, most likely it wouldn't get accepted, but my understanding is that you can host homebrew formulae outside the official repo and add them using the tap command. Something like this:

brew tap jkbr/httpie
brew install httpie

@mikeotoole
Copy link

+1 homebrew

1 similar comment
@JaviSoto
Copy link

+1 homebrew

@toxinu
Copy link

toxinu commented Mar 25, 2013

Still not have a clean way to distribute python egg or ruby gems with homebrew ?

@jkbrzt
Copy link
Member Author

jkbrzt commented Jun 24, 2014

As of today it's possible to install HTTPie via Homebrew:

$ brew update && brew install httpie

https://twitter.com/jakubroztocil/status/481453834024550400

@jkbrzt jkbrzt closed this as completed Jun 24, 2014
@acorncom
Copy link

👍 Thanks a bunch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or enhancement planned Solution is being worked on
Projects
None yet
Development

No branches or pull requests

10 participants