>pip install click
Well... no you cannot. See the page: https://pypi.python.org/pypi/click
The package hasn't been uploaded yet. However one can install it straight from the git repo:
> pip install git+ssh://git@github.com:mitsuhiko/click.git
>pip install click
Well... no you cannot. See the page: https://pypi.python.org/pypi/click
The package hasn't been uploaded yet. However one can install it straight from the git repo:
> pip install git+ssh://git@github.com:mitsuhiko/click.git
Can someone comment regarding using pip like that? Is it fine to put this on req.txt? Any best practices somewhere?
If you plan to release your stuff, the dependencies in your req.txt should be as pinned as possible. The classic example is Requests: when it changed the API fairly significantly, umpteen installers broke... just because people did not bother with specifying a version for that lib.
pip install "https://github.com/mitsuhiko/click/tarball/master#egg=click"
to pin a specific revision:
pip install "https://github.com/mitsuhiko/click/tarball/5b7b7296fabc5d47d...
(btw, it seems bad practice to add such a link as a dependency in your setup.py... usually you'd do it for temporary shallow forks, but otherwise I think it'd be better to also upload your shallow fork on pypi ...I guess you can just remove it from pypi if it won't be needed anymore)