2 % This is part of LFSbookja package.
4 % This is a CTIE change file for the original XML source of the LFSbook.
11 <?xml version="1.0" encoding="ISO-8859-1"?>
13 <?xml version="1.0" encoding="UTF-8"?>
17 <para>The Python 3 package contains the Python development environment. It
18 is useful for object-oriented programming, writing scripts, prototyping
19 large programs or developing entire applications.</para>
22 Python 3 パッケージは Python 開発環境を提供します。
23 オブジェクト指向プログラミング、スクリプティング、大規模プログラムのプロトタイピング、アプリケーション開発などに有用なものです。
28 <title>Installation of Python 3</title>
30 <title>&InstallationOf1;Python 3&InstallationOf2;</title>
34 <para>Prepare Python for compilation:</para>
36 <para>&PreparePackage1;Python&PreparePackage2;</para>
40 <title>The meaning of the configure options:</title>
42 <title>&MeaningOfOption1;configure&MeaningOfOption2;:</title>
45 @x --with-system-expat
46 <para>This switch enables linking against system version of
47 <application>Expat</application>.</para>
50 本スイッチは、システムにインストールされている <application>Expat</application> をリンクすることを指示します。
55 <para>This switch enables linking against system version of
56 <application>libffi</application>.</para>
59 本スイッチは、システムにインストールされている <application>libffi</application> をリンクすることを指示します。
63 @x --with-ensurepip=yes
64 <para>This switch enables building <command>pip</command> and
65 <command>setuptools</command> packaging programs.</para>
68 本スイッチは <command>pip</command> コマンドと、パッケージングプログラム <command>setuptools</command> をビルドすることを指示します。
73 <para>Compile the package:</para>
75 <para>&CompileThePackage;</para>
79 <para>The test suite requires TK and X Windows session and cannot
80 be run until Python 3 is reinstalled in BLFS.</para>
83 テストスイートには TK と X ウィンドウセッションが必要であるため、BLFS において Python 3 を再インストールしてからでないと、テストスイートを実行することはできません。
88 <para>Install the package:</para>
90 <para>&InstallThePackage;</para>
94 <title>The meaning of the install commands:</title>
96 <title>&MeaningOfCommand1;install&MeaningOfCommand2;:</title>
99 @x chmod -v 755 /usr/lib/libpython3.{6m.,}so
100 <para>Fix permissions for libraries to be consistent with other
104 他のライブラリとの整合を図るため、ライブラリのパーミッションを修正します。
109 <para>If desired, install the preformatted documentation:</para>
112 必要なら、整形済みドキュメントをインストールします。
117 <title>The meaning of the documentation install commands:</title>
119 <title>&MeaningOfCommand1;ドキュメント install&MeaningOfCommand2;:</title>
123 <term><option>--no-same-owner</option> and --no-same-permissions</term>
125 <term><option>--no-same-owner</option> と --no-same-permissions</term>
128 <para>Ensure the installed files have the correct ownership and
129 permissions. Without these options, using <application>tar</application>
130 will install the package files with the upstream creator's values.
134 インストールするファイルの所有者とパーミッションを適切に設定します。
135 このオプションがないと <application>tar</application> によって展開されるファイルは、アップストリームが作り出した値になってしまうためです。
140 <title>Contents of Python 3</title>
142 <title>&ContentsOf1;Python 3&ContentsOf2;</title>
146 <segtitle>Installed Programs</segtitle>
147 <segtitle>Installed Library</segtitle>
148 <segtitle>Installed Directories</segtitle>
150 <segtitle>&InstalledProgram;</segtitle>
151 <segtitle>&InstalledLibrary;</segtitle>
152 <segtitle>&InstalledDirectory;</segtitle>
157 2to3, idle3, pip3, pydoc3, python3, python3-config, and pyvenv
160 libpython&python-minor;.so and libpython3.so
163 /usr/include/python&python-minor;,
164 /usr/lib/python3, and
165 /usr/share/doc/python-&python-version;
169 2to3, idle3, pip3, pydoc3, python3, python3-config, pyvenv
172 libpython&python-minor;.so, libpython3.so
175 /usr/include/python&python-minor;,
177 /usr/share/doc/python-&python-version;
182 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
184 <bridgehead renderas="sect3">&ShortDescriptions;</bridgehead>
188 is a <application>Python</application> program that reads
189 <application>Python 2.x</application> source code and applies a
190 series of fixes to transform it into valid
191 <application>Python 3.x</application> code.
193 <application>Python 2.x</application> のソースコードを読み込み、種々の変更を行って <application>Python 3.x</application> 用の適正なソースコードに変換するための <application>Python</application> プログラムです
197 is a wrapper script that opens a <application>Python</application>
198 aware GUI editor. For this script to run, you must have installed
199 <application>Tk</application> before Python so that the Tkinter
200 Python module is built.
202 <application>Python</application> に特化した GUI エディターを起動するラッパースクリプト。
203 このスクリプトを実行するには、Python より前に <application>Tk</application> をインストールして、Python モジュールである Tkinter をビルドしておく必要があります。
207 The package installer for Python. You can use pip to install
208 packages from Python Package Index and other indexes.
210 Python のパッケージインストーラー。
211 この pip を使って Python Package Index などのインデックスサイトから各種パッケージをインストールできます。
215 is the <application>Python</application> documentation tool.
217 <application>Python</application> ドキュメントツール。
221 is an interpreted, interactive, object-oriented programming
224 インタープリターであり、対話的なオブジェクト指向プログラミング言語。
228 creates virtual <application>Python</application> environments in
229 one or more target directories.
231 所定ディレクトリ内に、仮想 <application>Python</application> 環境を生成します。