OSDN Git Service

[lfsja-git] GIT-20210426-gc461bd901 対応。
[lfsbookja/lfsja-git.git] / src / chapter08 / python.ch
1 %
2 % This is part of LFSbookja package.
3 %
4 % This is a CTIE change file for the original XML source of the LFSbook.
5 %
6 @x
7 <?xml version="1.0" encoding="ISO-8859-1"?>
8 @y
9 <?xml version="1.0" encoding="UTF-8"?>
10 @z
11
12 @x
13     <para>The Python 3 package contains the Python development environment. It
14     is useful for object-oriented programming, writing scripts, prototyping
15     large programs, or developing entire applications.</para>
16 @y
17     <para>
18     Python 3 パッケージは Python 開発環境を提供します。
19     オブジェクト指向プログラミング、スクリプティング、大規模プログラムのプロトタイピング、アプリケーション開発などに有用なものです。
20     </para>
21 @z
22
23 @x
24     <title>Installation of Python 3</title>
25 @y
26     <title>&InstallationOf1;Python 3&InstallationOf2;</title>
27 @z
28
29 @x
30     <para>Prepare Python for compilation:</para>
31 @y
32     <para>&PreparePackage1;Python&PreparePackage2;</para>
33 @z
34
35 @x
36       <title>The meaning of the configure options:</title>
37 @y
38       <title>&MeaningOfOption1;configure&MeaningOfOption2;</title>
39 @z
40
41 @x --with-system-expat
42         <para>This switch enables linking against system version of
43         <application>Expat</application>.</para>
44 @y
45         <para>
46         本スイッチは、システムにインストールされている <application>Expat</application> をリンクすることを指示します。
47         </para>
48 @z
49
50 @x --with-system-ffi
51         <para>This switch enables linking against system version of
52         <application>libffi</application>.</para>
53 @y
54         <para>
55         本スイッチは、システムにインストールされている <application>libffi</application> をリンクすることを指示します。
56         </para>
57 @z
58
59 @x --with-ensurepip=yes
60         <para>This switch enables building <command>pip</command> and
61         <command>setuptools</command> packaging programs.</para>
62 @y
63         <para>
64         本スイッチは <command>pip</command> コマンドと、パッケージングプログラム <command>setuptools</command> をビルドすることを指示します。
65         </para>
66 @z
67
68 @x
69     <para>Compile the package:</para>
70 @y
71     <para>&CompileThePackage;</para>
72 @z
73
74 @x
75     <para>To test the results, issue:</para> 
76 @y
77     <para>
78     ビルド結果をテストする場合は以下を実行します。
79     </para>
80 @z
81
82 @x
83     <para>Some tests requiring a network connection or additional packages are
84     skipped. The tests test_unicodedata and test_curses tests are known to fail. For
85     more comprehensive results, the tests can be rerun when Python 3 is 
86     reinstalled in BLFS.</para>
87 @y
88     <para>
89     ネットワーク接続や他の依存パッケージを必要とするテストは、省略される場合があります。
90     test_unicodedata と test_curses のテストは失敗します。
91     すべての結果を得るには BLFS において Python 3 を再インストールした後に、もう一度テストを実行してください。
92     </para>
93 @z
94
95 @x
96     <para>Install the package:</para>
97 @y
98     <para>&InstallThePackage;</para>
99 @z
100
101 @x
102     <para>If desired, install the preformatted documentation:</para>
103 @y
104     <para>
105     必要なら、整形済みドキュメントをインストールします。
106     </para>
107 @z
108
109 @x
110       <title>The meaning of the documentation install commands:</title>
111 @y
112       <title>&MeaningOfCommand1;ドキュメント install&MeaningOfCommand2;</title>
113 @z
114
115 @x
116       <term><option>--no-same-owner</option> and <option>--no-same-permissions</option></term>
117 @y
118       <term><option>--no-same-owner</option> と <option>--no-same-permissions</option></term>
119 @z
120 @x
121         <para>Ensure the installed files have the correct ownership and 
122         permissions.  Without these options, using <application>tar</application>
123         will install the package files with the upstream creator's values. 
124         </para>
125 @y
126         <para>
127         インストールするファイルの所有者とパーミッションを適切に設定します。
128         このオプションがないと <application>tar</application> によって展開されるファイルは、アップストリームが作り出した値になってしまうためです。
129         </para>
130 @z
131
132 @x
133     <title>Contents of Python 3</title>
134 @y
135     <title>&ContentsOf1;Python 3&ContentsOf2;</title>
136 @z
137
138 @x
139       <segtitle>Installed Programs</segtitle>
140       <segtitle>Installed Library</segtitle>
141       <segtitle>Installed Directories</segtitle>
142 @y
143       <segtitle>&InstalledProgram;</segtitle>
144       <segtitle>&InstalledLibrary;</segtitle>
145       <segtitle>&InstalledDirectory;</segtitle>
146 @z
147
148 @x
149         <seg>
150           2to3, idle3, pip3, pydoc3, python3, and python3-config
151         </seg>
152         <seg>
153           libpython&python-minor;.so and libpython3.so
154         </seg>
155         <seg>
156           /usr/include/python&python-minor;, 
157           /usr/lib/python3, and
158           /usr/share/doc/python-&python-version;
159         </seg>
160 @y
161         <seg>
162           2to3, idle3, pip3, pydoc3, python3, python3-config
163         </seg>
164         <seg>
165           libpython&python-minor;.so, libpython3.so
166         </seg>
167         <seg>
168           /usr/include/python&python-minor;, 
169           /usr/lib/python3,
170           /usr/share/doc/python-&python-version;
171         </seg>
172 @z
173
174 @x
175       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
176 @y
177       <bridgehead renderas="sect3">&ShortDescriptions;</bridgehead>
178 @z
179
180 @x 2to3
181             is a <application>Python</application> program that reads
182             <application>Python 2.x</application> source code and applies a
183             series of fixes to transform it into 
184             valid <application>Python 3.x</application> code
185 @y
186             <application>Python 2.x</application> のソースコードを読み込み、種々の変更を行って <application>Python 3.x</application> 用の適正なソースコードに変換するための <application>Python</application> プログラムです
187 @z
188
189 @x idle3
190             is a wrapper script that opens a <application>Python</application>
191             aware GUI editor. For this script to run, you must have installed
192             <application>Tk</application> before Python so that the Tkinter
193             Python module is built
194 @y
195             <application>Python</application> に特化した GUI エディターを起動するラッパースクリプト。
196             このスクリプトを実行するには、Python より前に <application>Tk</application> をインストールして、Python モジュールである Tkinter をビルドしておく必要があります。
197 @z
198
199 @x pip3
200             The package installer for Python. You can use pip to install
201             packages from Python Package Index and other indexes
202 @y
203             Python のパッケージインストーラー。
204             この pip を使って Python Package Index などのインデックスサイトから各種パッケージをインストールできます。
205 @z
206
207 @x pydoc3
208             is the <application>Python</application> documentation tool
209 @y
210             <application>Python</application> ドキュメントツール。
211 @z
212
213 @x python3
214             is an interpreted, interactive, object-oriented programming
215             language
216 @y
217             インタープリターであり、対話的なオブジェクト指向プログラミング言語。
218 @z