File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -310,6 +310,38 @@ sys.path.insert(0, os.path.abspath(
310310import fully.qualified.module.path
311311----
312312
313+ == Some Pip notes
314+
315+ * To create a working environment requirement with `pip`:
316+ +
317+ [source,sh,linenums]
318+ ----
319+ pip freeze > stable-req.txt
320+ ----
321+
322+ * To install *editable* packages with `pip` (maybe from a `file:///` or SVN or Git, ...):
323+ +
324+ [source,sh,linenums]
325+ ----
326+ pip install -e URI
327+ ----
328+
329+ * To install requirements from requirement file:
330+ +
331+ [source,sh,linenums]
332+ ----
333+ pip install -r requirements.txt
334+ ----
335+
336+ * To install current directory as package:
337+ +
338+ [source,sh,linenums]
339+ ----
340+ pip install -e .
341+ ----
342+
343+ * `pip`'s `requirement.txt` format: http://www.pip-installer.org/en/1.1/requirements.html
344+
313345== FAQs
314346
315347=== Why global interpreter lock (GIL) in CPython?
You can’t perform that action at this time.
0 commit comments