Update build instructions for pycryptodome

This commit is contained in:
Bruce Dubbs 2022-04-19 21:39:57 -05:00
parent d31adba2ed
commit aa847e3a20

View File

@ -75,21 +75,18 @@
<sect3 role="installation">
<title>Installation of PyCryptodome</title>
<!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
<para>
To build <application>PyCryptodome</application> as a Python 3
module, run the following command:
</para>
<screen><userinput>python3 setup.py build</userinput></screen>
<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
<para>
To install the module, run the following command as the
<systemitem class="username">root</systemitem> user:
To install the module, run the following command as the &root; user:
</para>
<screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir pycryptodome</userinput></screen>
</sect3>
@ -109,7 +106,7 @@
None
</seg>
<seg>
/usr/lib/python&python3-majorver;/site-packages/pycryptodome-&pycryptodome-version;-py&python3-majorver;.egg
/usr/lib/python&python3-majorver;/site-packages/pycryptodome-&pycryptodome-version;.dist-info
</seg>
</seglistitem>
</segmentedlist>