Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is pip install -q -e . for in this Travis-CI build tutorial?

I'm following this tutorial for testing a Django project with Travis-CI. In this example script:

env:
  - DJANGO=1.2.7
  - DJANGO=1.3.1
  - DJANGO=1.4
install:
  - pip install -q Django==$DJANGO --use-mirrors
  - pip install -q -e . --use-mirrors

What exactly does pip install -q -e . perform? There is no -q flag and I'm not sure what the meaning of this is for -e is in the pip documentation:

[-e flag]: Install a project in editable mode (i.e. setuptools "develop mode") from a local project path or a VCS url.

like image 732
YPCrumble Avatar asked Jan 25 '16 22:01

YPCrumble


1 Answers

-q means quiet (to control the console log level).

-e is for you install a local directory as a package. Suppose you check out flask to ~/flask, then pip install -e ~/flask will symlink your ~/flask to your site-packages directory.

like image 63
univerio Avatar answered Oct 20 '22 00:10

univerio