| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350 | # SOME DESCRIPTIVE TITLE# Copyright (C) YEAR Free Software Foundation, Inc.# This file is distributed under the same license as the PACKAGE package.# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.##, fuzzymsgid ""msgstr """Project-Id-Version: PACKAGE VERSION\n""POT-Creation-Date: 2020-06-17 12:44+0800\n""PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n""Last-Translator: FULL NAME <EMAIL@ADDRESS>\n""Language-Team: LANGUAGE <LL@li.org>\n""Language: \n""MIME-Version: 1.0\n""Content-Type: text/plain; charset=UTF-8\n""Content-Transfer-Encoding: 8bit\n"#. type: Content of: <sect1><sect1info><address>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:14#, no-wrapmsgid "&python-url;"msgstr ""#. type: Content of: <sect1><sect1info>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:12msgid """<productname>Python</productname> ""<productnumber>&python-version;</productnumber> <placeholder ""type=\"address\" id=\"0\"/>"msgstr ""#. type: Content of: <sect1><title>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:17msgid "Python-&python-version;"msgstr ""#. type: Content of: <sect1><indexterm><primary>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:20msgid "python"msgstr ""#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:26msgid """The Python 3 package contains the Python development environment. It is ""useful for object-oriented programming, writing scripts, prototyping large ""programs, or developing entire applications."msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><segtitle>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:31msgid "&buildtime;"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><segtitle>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:32msgid "&diskspace;"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:35msgid "&python-fin-sbu;"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:36msgid "&python-fin-du;"msgstr ""#. type: Content of: <sect1><sect2><title>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:43msgid "Installation of Python 3"msgstr ""#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:45msgid "Prepare Python for compilation:"msgstr ""#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:47#, no-wrapmsgid """<userinput remap=\"configure\">./configure --prefix=/usr       \\\n""            --enable-shared     \\\n""            --with-system-expat \\\n""            --with-system-ffi   \\\n""            --with-ensurepip=yes</userinput>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><title>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:54msgid "The meaning of the configure options:"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:57msgid "<parameter>--with-system-expat</parameter>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:59msgid """This switch enables linking against system version of ""<application>Expat</application>."msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:65msgid "<parameter>--with-system-ffi</parameter>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:67msgid """This switch enables linking against system version of ""<application>libffi</application>."msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:73msgid "<parameter>--with-ensurepip=yes</parameter>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:75msgid """This switch enables building <command>pip</command> and ""<command>setuptools</command> packaging programs."msgstr ""#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:82msgid "Compile the package:"msgstr ""#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:84#, no-wrapmsgid "<userinput remap=\"make\">make</userinput>"msgstr ""#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:86msgid """To test the results, issue <command>make test</command>.  Some tests ""requiring a network connection or additional packages are skipped.  The test ""named test_normalization fails because network configuration is not ""completed yet.  For more comprehensive results, the test can be rerun when ""Python 3 is reinstalled in BLFS."msgstr ""#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:92msgid "Install the package:"msgstr ""#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:94#, no-wrapmsgid """<userinput remap=\"install\">make install\n""chmod -v 755 /usr/lib/libpython&python-minor;.so\n""chmod -v 755 /usr/lib/libpython3.so\n""ln -sfv pip&python-minor; /usr/bin/pip3</userinput>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><title>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:100msgid "The meaning of the install commands:"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:103msgid "<command>chmod -v 755 /usr/lib/libpython3.{8.,}so</command>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:105msgid "Fix permissions for libraries to be consistent with other libraries."msgstr ""#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:112msgid "If desired, install the preformatted documentation:"msgstr ""#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:114#, no-wrapmsgid """<userinput remap=\"install\">install -v -dm755 ""/usr/share/doc/python-&python-version;/html \n""\n""tar --strip-components=1  \\\n""    --no-same-owner       \\\n""    --no-same-permissions \\\n""    -C /usr/share/doc/python-&python-version;/html \\\n""    -xvf ../python-&python-version;-docs-html.tar.bz2</userinput>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><title>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:123msgid "The meaning of the documentation install commands:"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:126msgid "<option>--no-same-owner</option> and <option>--no-same-permissions</option>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:128msgid """Ensure the installed files have the correct ownership and permissions.  ""Without these options, using <application>tar</application> will install the ""package files with the upstream creator's values."msgstr ""#. type: Content of: <sect1><sect2><title>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:140msgid "Contents of Python 3"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><segtitle>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:143msgid "Installed Programs"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><segtitle>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:144msgid "Installed Library"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><segtitle>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:145msgid "Installed Directories"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:149msgid "2to3, idle3, pip3, pydoc3, python3, and python3-config"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:152msgid "libpython&python-minor;.so and libpython3.so"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:155msgid """/usr/include/python&python-minor;, /usr/lib/python3, and ""/usr/share/doc/python-&python-version;"msgstr ""#. type: Content of: <sect1><sect2><variablelist><bridgehead>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:163msgid "Short Descriptions"msgstr ""#. type: Content of: <sect1><sect2><variablelist>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:164msgid "<?dbfo list-presentation=\"list\"?> <?dbhtml list-presentation=\"table\"?>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:168msgid "<command>2to3</command>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:171msgid """is a <application>Python</application> program that reads ""<application>Python 2.x</application> source code and applies a series of ""fixes to transform it into valid <application>Python 3.x</application> code."msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:177msgid "2to3"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:183msgid "<command>idle3</command>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:186msgid """is a wrapper script that opens a <application>Python</application> aware GUI ""editor. For this script to run, you must have installed ""<application>Tk</application> before Python so that the Tkinter Python ""module is built."msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:192msgid "idle3"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:198msgid "<command>pip3</command>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:201msgid """The package installer for Python. You can use pip to install packages from ""Python Package Index and other indexes."msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:205msgid "pip3"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:211msgid "<command>pydoc3</command>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:214msgid "is the <application>Python</application> documentation tool."msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:217msgid "pydoc3"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:223msgid "<command>python3</command>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:226msgid "is an interpreted, interactive, object-oriented programming language."msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:230msgid "python3"msgstr ""
 |