1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!DOCTYPE sect3 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
5 | %general-entities;
|
---|
6 | ]>
|
---|
7 |
|
---|
8 | <sect3 role="commands">
|
---|
9 | <title>Command Explanations</title>
|
---|
10 |
|
---|
11 | <para>
|
---|
12 | <parameter>-w dist</parameter>: builds the appropriate
|
---|
13 | "wheel" for this module in the directory
|
---|
14 | <filename class="directory">dist</filename>.
|
---|
15 | </para>
|
---|
16 |
|
---|
17 | <para>
|
---|
18 | <parameter>--no-build-isolation</parameter>: tells pip3 to run the
|
---|
19 | build in the system environment instead of creating a temporary
|
---|
20 | build environment.
|
---|
21 | </para>
|
---|
22 |
|
---|
23 | <para>
|
---|
24 | <parameter>--no-deps</parameter>: prevents pip3 from building wheels for
|
---|
25 | the project's dependencies.
|
---|
26 | </para>
|
---|
27 |
|
---|
28 | <para>
|
---|
29 | <parameter>--no-index</parameter>: ignores the package index
|
---|
30 | (only looking at --find-links URLs instead).
|
---|
31 | </para>
|
---|
32 |
|
---|
33 | <para>
|
---|
34 | <parameter>--find-links dist</parameter>: looks for links to archives
|
---|
35 | such as wheel (.whl) files in the directory
|
---|
36 | <filename class="directory">dist</filename>.
|
---|
37 | </para>
|
---|
38 |
|
---|
39 | <para>
|
---|
40 | <parameter>--no-cache-dir</parameter>: disables the cache to prevent
|
---|
41 | a warning when installing as the &root; user.
|
---|
42 | </para>
|
---|
43 |
|
---|
44 | <para>
|
---|
45 | <parameter>--no-user</parameter>: Prevent mistakenly running the
|
---|
46 | install command as a non-root user.
|
---|
47 | </para>
|
---|
48 |
|
---|
49 | <para>
|
---|
50 | <option>--upgrade</option>: Upgrade the package to the newest
|
---|
51 | available version. This option is used with the install command
|
---|
52 | if a version of the package is already installed.
|
---|
53 | </para>
|
---|
54 |
|
---|
55 | <para>
|
---|
56 | <option>--force-reinstall</option>: Reinstall the package even if
|
---|
57 | it is up-to-date. This option is used with the install command
|
---|
58 | if reinstalling the package or reverting to an earlier version
|
---|
59 | of the package.
|
---|
60 | </para>
|
---|
61 |
|
---|
62 | <para>
|
---|
63 | <option>--no-deps</option>: Do not install package dependencies.
|
---|
64 | This option may be needed with the --upgrade or --force-reinstall
|
---|
65 | options.
|
---|
66 | </para>
|
---|
67 |
|
---|
68 | </sect3>
|
---|
69 |
|
---|