1PIP-DOWNLOAD(1) pip PIP-DOWNLOAD(1)
2
3
4
6 pip-download - description of pip download command
7
9 Download packages from:
10
11 · PyPI (and other indexes) using requirement specifiers.
12
13 · VCS project urls.
14
15 · Local project directories.
16
17 · Local or remote source archives.
18
19 pip also supports downloading from "requirements files", which provide
20 an easy way to specify a whole environment to be downloaded.
21
22
24 pip download [options] <requirement specifier> [package-index-options] ...
25 pip download [options] -r <requirements file> [package-index-options] ...
26 pip download [options] <vcs project url> ...
27 pip download [options] <local project path> ...
28 pip download [options] <archive url/path> ...
29
31 -c, --constraint <file>
32 Constrain versions using the given constraints file. This option
33 can be used multiple times.
34
35 -r, --requirement <file>
36 Install from the given requirements file. This option can be
37 used multiple times.
38
39 -b, --build <dir>
40 Directory to unpack packages into and build in. Note that an
41 initial build still takes place in a temporary directory. The
42 location of temporary directories can be controlled by setting
43 the TMPDIR environment variable (TEMP on Windows) appropriately.
44 When passed, build directories are not cleaned in case of fail‐
45 ures.
46
47 --no-deps
48 Don't install package dependencies.
49
50 --global-option <options>
51 Extra global options to be supplied to the setup.py call before
52 the install command.
53
54 --no-binary <format_control>
55 Do not use binary packages. Can be supplied multiple times, and
56 each time adds to the existing value. Accepts either :all: to
57 disable all binary packages, :none: to empty the set, or one or
58 more package names with commas between them (no colons). Note
59 that some packages are tricky to compile and may fail to install
60 when this option is used on them.
61
62 --only-binary <format_control>
63 Do not use source packages. Can be supplied multiple times, and
64 each time adds to the existing value. Accepts either :all: to
65 disable all source packages, :none: to empty the set, or one or
66 more package names with commas between them. Packages without
67 binary distributions will fail to install when this option is
68 used on them.
69
70 --prefer-binary
71 Prefer older binary packages over newer source packages.
72
73 --src <dir>
74 Directory to check out editable projects into. The default in a
75 virtualenv is "<venv path>/src". The default for global installs
76 is "<current dir>/src".
77
78 --pre Include pre-release and development versions. By default, pip
79 only finds stable versions.
80
81 --no-clean
82 Don't clean up build directories.
83
84 --require-hashes
85 Require a hash to check each requirement against, for repeatable
86 installs. This option is implied when any package in a require‐
87 ments file has a --hash option.
88
89 --progress-bar <progress_bar>
90 Specify type of progress to be displayed
91 [off|on|ascii|pretty|emoji] (default: on)
92
93 --no-build-isolation
94 Disable isolation when building a modern source distribution.
95 Build dependencies specified by PEP 518 must be already
96 installed if this option is used.
97
98 --use-pep517
99 Use PEP 517 for building source distributions (use
100 --no-use-pep517 to force legacy behaviour).
101
102 -d, --dest <dir>
103 Download packages into <dir>.
104
105 --platform <platform>
106 Only use wheels compatible with <platform>. Defaults to the
107 platform of the running system.
108
109 --python-version <python_version>
110 The Python interpreter version to use for wheel and
111 "Requires-Python" compatibility checks. Defaults to a version
112 derived from the running interpreter. The version can be speci‐
113 fied using up to three dot-separated integers (e.g. "3" for
114 3.0.0, "3.7" for 3.7.0, or "3.7.3"). A major-minor version can
115 also be given as a string without dots (e.g. "37" for 3.7.0).
116
117 --implementation <implementation>
118 Only use wheels compatible with Python implementation <implemen‐
119 tation>, e.g. 'pp', 'jy', 'cp', or 'ip'. If not specified, then
120 the current interpreter implementation is used. Use 'py' to
121 force implementation-agnostic wheels.
122
123 --abi <abi>
124 Only use wheels compatible with Python abi <abi>, e.g.
125 'pypy_41'. If not specified, then the current interpreter abi
126 tag is used. Generally you will need to specify --implementa‐
127 tion, --platform, and --python-version when using this option.
128
129
131 pip developers
132
134 2008-2020, PyPA
135
136
137
138
13919.3 April 10, 2020 PIP-DOWNLOAD(1)