2016-04-13 2 views
0

Ich sah die Zeile unten, wenn ich Geonode für die Entwicklung installiert. Hiersudo pip install -e

sudo pip install -e . 

ist der Link: http://docs.geonode.org/en/master/tutorials/admin/install/custom_install.html

Aber ich konnte nicht verstehen, was -e. bedeutet. Kann es auf meine Anforderungen verwiesen werden.txt Kann mir bitte jemand erklären.

+0

Mögliches Duplikat von ["pip install --editable ./" vs. "python setup.py develop"] (http://stackoverflow.com/questions/30306099/pip-install-editable-vs-python-setup- py-entwickeln) – matino

+0

Nein @matino, das war eine andere Frage. – cjahangir

Antwort

0

ein pip install --help Doing zeigt folgende für -e:

-e, --editable <path/url> Install a project in editable mode (i.e. 
          setuptools "develop mode") from a local project 
          path or a VCS url. 
+0

Ich habe das schon getan. Aber was ist mit den restlichen **. ** nach -e gemeint? – cjahangir

2

Pip installieren Optionen:

-e, --editable <path/url> Install a project in editable mode (i.e. setuptools "develop mode") from a local project path or a VCS url. 
-r, --requirement <file> Install from the given requirements file. This option can be used multiple times. 

In sudo pip install -e . Die . gibt den aktuellen Verzeichnispfad und der oben pip Befehl wird versuchen, suchen für die Datei setup.py, um das Projekt im Entwicklungsmodus zu installieren.

+0

Danke, @Mani Kandan, habe meine Antwort :) – cjahangir