- Timestamp:
- 04/21/2022 12:41:53 AM (2 years ago)
- Branches:
- 11.2, 11.3, 12.0, 12.1, 12.2, gimp3, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/for-12.3, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/xf86-video-removal
- Children:
- e7d47128
- Parents:
- 82b6f40
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/mako.xml
r82b6f40 r698c3986 71 71 <bridgehead renderas="sect5" revision="sysv">Required</bridgehead> 72 72 <para role="required" revision="sysv"> 73 <!-- <xref linkend="Beaker"/> and -->74 73 <xref linkend="MarkupSafe"/> 75 74 </para> … … 82 81 <sect3 role="installation"> 83 82 <title>Installation of Mako</title> 84 <!-- 85 <note> 86 <para> 87 Both <application>Python 2</application> and 88 <application>Python 3</application> modules can 89 be built and installed without any conflicts. 90 </para> 91 </note> 92 --> 93 <!-- Editors note: Use - -root= instead of DESTDIR= when updating. --> 94 <!-- 83 95 84 <para> 96 To install the <application>Python 2</application> module, 97 run the following command as the 98 <systemitem class="username">root</systemitem> user: 85 Build the module: 99 86 </para> 100 87 101 <screen role="root"><userinput>python2 setup.py install - -optimize=1</userinput></screen>102 --> 88 <screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen> 89 103 90 <para> 104 To install the <application>Python 3</application> module, 105 run the following command as the 106 <systemitem class="username">root</systemitem> user: 91 Install the module as the &root; user: 107 92 </para> 108 93 109 <!--sed -i "s:mako-render:&3:g" setup.py &&--> 110 <screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen> 94 <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir Mako</userinput></screen> 111 95 </sect3> 112 <!--113 <sect3 role="commands">114 <title>Command Explanations</title>115 96 116 <para> 117 <command>sed -i "s:mako-render:&3:g" setup.py</command>: This sed 118 prevents <command>setup.py</command> from overwriting an already 119 installed script by the <application>Python 2</application> module. 120 Remove it if you are building this module only for 121 <application>Python 3</application>. 122 </para> 97 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 98 href="../../xincludes/pip3-cmd-explain.xml"/> 123 99 124 </sect3>125 -->126 100 <sect3 role="content"> 127 101 <title>Contents</title> … … 140 114 </seg> 141 115 <seg> 142 <!-- /usr/lib/python&python2-majorver;/site-packages/mako, 143 /usr/lib/python&python2-majorver;/site-packages/Mako-&mako-version;-py&python2-majorver;.egg-info and/or--> 144 /usr/lib/python&python3-majorver;/site-packages/Mako-&mako-version;-py&python3-majorver;.egg 145 <!-- This is different when doing a -\-root install and a direct install. 146 In the latter case, there is only a .egg directory, and no mako 147 directory. --> 116 /usr/lib/python&python3-majorver;/site-packages/mako and 117 /usr/lib/python&python3-majorver;/site-packages/Mako-&mako-version;.dist=info 148 118 </seg> 149 119 </seglistitem>
Note:
See TracChangeset
for help on using the changeset viewer.