Changeset 2037ec4 for general/prog/python3.xml
- Timestamp:
- 01/27/2016 11:21:15 PM (8 years ago)
- Branches:
- systemd-13485
- Children:
- 1e76622
- Parents:
- a7e1ac8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/python3.xml
ra7e1ac8 r2037ec4 8 8 "https://www.python.org/ftp/python/&python3-version;/Python-&python3-version;.tar.xz"> 9 9 <!ENTITY python3-download-ftp " "> 10 <!ENTITY python3-md5sum " d149d2812f10cbe04c042232e7964171">11 <!ENTITY python3-size "1 4MB">12 <!ENTITY python3-buildsize "3 58 MB (additional 38 MB for the docs and 29MB for the tests)">13 <!ENTITY python3-time "1. 4 SBU (additional 1.8SBU for the tests)">10 <!ENTITY python3-md5sum "e9ea6f2623fffcdd871b7b19113fde80"> 11 <!ENTITY python3-size "15 MB"> 12 <!ENTITY python3-buildsize "360 MB (with docs; additional 23 MB for the tests)"> 13 <!ENTITY python3-time "1.1 SBU (additional 1.9 SBU for the tests)"> 14 14 15 15 <!ENTITY python3htmldoc-download-http 16 "https://docs.python.org/3/archives/python-&python3-version;-docs-html.tar.bz2"> 17 <!-- <!ENTITY python3htmldoc-md5sum "fd4595908e51268639c40b5ad1d1ccc2"> 18 <!ENTITY python3htmldoc-size "5.2 MB"> --> 16 "https://docs.python.org/&python3-majorver;/archives/python-&python3-version;-docs-html.tar.bz2"> 19 17 ]> 20 18 … … 87 85 </para> 88 86 </listitem> 89 <!-- <listitem>90 <para>91 Download MD5 sum: &python3htmldoc-md5sum;92 </para>93 </listitem>94 <listitem>95 <para>96 Download size: &python3htmldoc-size;97 </para>98 </listitem> -->99 87 </itemizedlist> 100 88 … … 134 122 </para> 135 123 136 <screen><userinput>CXX="/usr/bin/g++" ./configure --prefix=/usr \ 124 <screen><userinput>CXX="/usr/bin/g++" \ 125 ./configure --prefix=/usr \ 137 126 --enable-shared \ 138 127 --with-system-expat \ … … 169 158 The test suite must be run separately from the build, either before or 170 159 after the package is built and installed. Do not run 171 <command>make install</command> after running the test suite. To build160 <command>make install</command>, after running the test suite. To build 172 161 and install the package, you need to start with a fresh or clean source 173 162 tree. For the test, you also need a clean source code, so either start by … … 176 165 configure again, adding <quote>--with-pydebug</quote> to the 177 166 <command>configure</command> switches above, run <command>make</command>, 178 then <command>make test</command>. Remember that some tests fail if they179 are not run from an X terminal.167 then <command>make test</command>. Remember that tests must be executed 168 using an X terminal. One test fails for unknown reasons. 180 169 </para> 181 170 … … 186 175 187 176 <para> 177 <command> CXX="/usr/bin/g++" ./configure ...</command>: Avoid an annoying 178 message during configuration. 179 </para> 180 181 <para> 188 182 <option>--with-system-expat</option>: This switch enables linking against 189 system version of <application>Expat</application>. 183 system version of <application>Expat</application>. 190 184 </para> 191 185 … … 194 188 system version of <application>libffi</application>. Remove if you have 195 189 not installed recommended dependency <xref linkend="libffi"/>. 196 </para>197 198 <para>199 <parameter>--without-ensurepip</parameter>: This switch disables building200 <command>pip</command> and setuptools modules. Newer versions can be201 installed independently.202 190 </para> 203 191 … … 210 198 211 199 <para> 200 <parameter>--without-ensurepip</parameter>: This switch disables building 201 <command>pip</command> and <command>setuptools</command> 202 packaging programs. 203 </para> 204 205 <para> 212 206 <command>chmod ...</command>: Fix permissions for shared libraries to be 213 207 consistent with other libraries. … … 221 215 <para> 222 216 In order for <command>python3</command> to find the installed 223 documentation, you must add the following environment variable to 224 individual user's or the system's profile: 225 </para> 226 227 <screen role="root"><userinput>export PYTHONDOCS=/usr/share/doc/python-&python3-version;/html</userinput></screen> 217 documentation, create the following version independent symlink: 218 </para> 219 220 <screen role="root"><userinput>ln -svfn python-&python3-version; /usr/share/doc/python-3</userinput></screen> 221 222 <para> 223 and add the following environment variable to the individual user's or 224 system's profile: 225 </para> 226 227 <screen role="root"><userinput>export PYTHONDOCS=/usr/share/doc/python-3/html</userinput></screen> 228 228 229 229 </sect2> … … 253 253 254 254 pyvenv (symlink), 255 pyvenv &python3-majorver;,255 pyvenv-&python3-majorver;, 256 256 257 257 idle3 (symlink), and … … 259 259 </seg> 260 260 <seg> 261 libpython&python3-majorver;m.so, 262 and libpython3.so 261 libpython&python3-majorver;m.so and libpython3.so 263 262 </seg> 264 263 <seg>
Note:
See TracChangeset
for help on using the changeset viewer.