Changeset 61f684f2
- Timestamp:
- 11/05/2020 01:31:04 AM (4 years ago)
- Branches:
- 10.1, 11.0, 11.1, 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, upgradedb, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 0024c34
- Parents:
- cc852ff
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/python2.xml
rcc852ff r61f684f2 128 128 <sect2 role="installation"> 129 129 <title>Installation of Python 2</title> 130 130 <!-- 131 131 <caution> 132 132 <para> 133 133 After installing this package or 134 134 updating <application>pip2</application> with the command 135 <command>pip2 install - -upgrade pip</command>, it will remove135 <command>pip2 install - -upgrade pip</command>, it will remove 136 136 <application>pip3</application> installed in LFS. To reset 137 137 <application>pip</application> and <application>pip3</application>, … … 139 139 </para> 140 140 141 <screen role="nodump"><userinput>python3 -m pip install - -force pip</userinput></screen>141 <screen role="nodump"><userinput>python3 -m pip install - -force pip</userinput></screen> 142 142 </caution> 143 --> 144 <para> 145 First, disable the installation of a script that overwrites a more 146 recent script: 147 </para> 148 149 <screen><userinput>sed -i '/2to3/d' ./setup.py</userinput></screen> 143 150 144 151 <para> … … 151 158 --with-system-expat \ 152 159 --with-system-ffi \ 153 --with-ensurepip=yes \154 160 --enable-unicode=ucs4 && 155 161 make</userinput></screen> … … 163 169 </para> 164 170 165 <screen role="root"><userinput>make install && 171 <screen role="root"><userinput>make altinstall && 172 ln -s python2.7 /usr/bin/python2 && 173 ln -s python2.7-config /usr/bin/python2-config && 166 174 chmod -v 755 /usr/lib/libpython&python2-majorver;.so.1.0</userinput></screen> 167 175 … … 207 215 <command>pip</command> and <command>setuptools</command> packaging programs. 208 216 <command>setuptools</command> is needed for building some Python modules. 217 This switch is not recommended because this version of Python is being phased out. 209 218 </para> 210 219 … … 222 231 223 232 <para> 233 <command>make altinstall</command>: This make target omits some default 234 symbolic links that may interfere with Python 3. 235 </para> 236 237 <para> 224 238 <command>chmod ...</command>: Fix permissions for libraries to be 225 239 consistent with other libraries. … … 251 265 <seglistitem> 252 266 <seg> 253 2to3, pip2, pydoc, python (symlink), python-config (symlink), 254 python2 (symlink), python2-config (symlink), 255 python&python2-majorver;, python&python2-majorver;-config, 256 smtpd.py, and idle 267 pydoc, 268 python2 (symlink), 269 python2-config (symlink), 270 python&python2-majorver;, 271 python&python2-majorver;-config, 272 smtpd.py, and 273 idle 257 274 </seg> 258 275 <seg> … … 271 288 <?dbhtml list-presentation="table"?> 272 289 273 <varlistentry id="python2-2to3">274 <term><command>2to3</command></term>275 <listitem>276 <para>277 is a <application>Python</application> program that reads278 <application>Python 2.x</application> source code and applies a279 series of fixes to transform it into valid280 <application>Python 3.x</application> code.281 </para>282 <indexterm zone="python2 python2-2to3">283 <primary sortas="b-2to3">2to3</primary>284 </indexterm>285 </listitem>286 </varlistentry>287 288 <varlistentry id="pip2">289 <term><command>pip2</command></term>290 <listitem>291 <para>292 is the package manager for <application>Python 2.x</application>.293 It is used to automate management of294 <application>Python 2.x</application> modules.295 </para>296 <indexterm zone="python2 pip2">297 <primary sortas="b-pip2">pip2</primary>298 </indexterm>299 </listitem>300 </varlistentry>301 302 290 <varlistentry id="idle"> 303 291 <term><command>idle</command></term> … … 328 316 329 317 <varlistentry id="python"> 330 <term><command>python </command></term>318 <term><command>python2</command></term> 331 319 <listitem> 332 320 <para> -
introduction/welcome/changelog.xml
rcc852ff r61f684f2 46 46 <itemizedlist> 47 47 <listitem> 48 <para>[bdubbs] - Fix python2's install procedures to omit 49 unneeded files.</para> 50 </listitem> 51 <listitem> 48 52 <para>[renodr] - Update to mariadb-10.5.7 (Security Update). Fixes 49 53 <ulink url="&blfs-ticket-root;14210">#14210</ulink>.</para>
Note:
See TracChangeset
for help on using the changeset viewer.