简体   繁体   中英

sudo pip install -e

I faced the line below when I installed geonode for development.

sudo pip install -e .

Here is the link: http://docs.geonode.org/en/master/tutorials/admin/install/custom_install.html

But I could not understand what -e . means. May be it referenced to my requirements.txt Can someone explain me, please.

Pip install Options:

-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 . The . specifies the current directory path and the above pip command will try to search for setup.py file to install the project in develop mode.

Doing a pip install --help shows the following for -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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM