OSDN Git Service

c92043033a10c02173919383b511b3283da75428
[lfsbookja/lfsja-git.git] / lfsbook / src / chapter06 / 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 % $Author$
7 % $Rev$
8 % $Date::                           $
9 %
10 @x
11 <?xml version="1.0" encoding="ISO-8859-1"?>
12 @y
13 <?xml version="1.0" encoding="UTF-8"?>
14 @z
15
16 @x
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>
20 @y
21     <para>
22     Python 3 パッケージは Python 開発環境を提供します。
23     オブジェクト指向プログラミング、スクリプティング、大規模プログラムのプロトタイピング、アプリケーション開発などに有用なものです。
24     </para>
25 @z
26
27 @x
28     <title>Installation of Python 3</title>
29 @y
30     <title>&InstallationOf1;Python 3&InstallationOf2;</title>
31 @z
32
33 @x
34     <para>Prepare Python for compilation:</para>
35 @y
36     <para>&PreparePackage1;Python&PreparePackage2;</para>
37 @z
38
39 @x
40       <title>The meaning of the configure options:</title>
41 @y
42       <title>&MeaningOfOption1;configure&MeaningOfOption2;:</title>
43 @z
44
45 @x --with-system-expat
46         <para>This switch enables linking against system version of
47         <application>Expat</application>.</para>
48 @y
49         <para>
50         本スイッチは、システムにインストールされている <application>Expat</application> をリンクすることを指示します。
51         </para>
52 @z
53
54 @x --with-system-ffi
55         <para>This switch enables linking against system version of
56         <application>libffi</application>.</para>
57 @y
58         <para>
59         本スイッチは、システムにインストールされている <application>libffi</application> をリンクすることを指示します。
60         </para>
61 @z
62
63 @x --with-ensurepip=yes
64         <para>This switch enables building <command>pip</command> and
65         <command>setuptools</command> packaging programs.</para>
66 @y
67         <para>
68         本スイッチは <command>pip</command> コマンドと、パッケージングプログラム <command>setuptools</command> をビルドすることを指示します。
69         </para>
70 @z
71
72 @x
73     <para>Compile the package:</para>
74 @y
75     <para>&CompileThePackage;</para>
76 @z
77
78 @x
79     <para>The test suite requires TK and X Windows session and cannot
80     be run until Python 3 is reinstalled in BLFS.</para>
81 @y
82     <para>
83     テストスイートには TK と X ウィンドウセッションが必要であるため、BLFS において Python 3 を再インストールしてからでないと、テストスイートを実行することはできません。
84     </para>
85 @z
86
87 @x
88     <para>Install the package:</para>
89 @y
90     <para>&InstallThePackage;</para>
91 @z
92
93 @x
94       <title>The meaning of the install commands:</title>
95 @y
96       <title>&MeaningOfCommand1;install&MeaningOfCommand2;:</title>
97 @z
98
99 @x chmod -v 755 /usr/lib/libpython3.{6m.,}so
100         <para>Fix permissions for libraries to be consistent with other
101         libraries.</para>
102 @y
103         <para>
104         他のライブラリとの整合を図るため、ライブラリのパーミッションを修正します。
105         </para>
106 @z
107
108 @x
109     <para>If desired, install the preformatted documentation:</para>
110 @y
111     <para>
112     必要なら、整形済みドキュメントをインストールします。
113     </para>
114 @z
115
116 @x
117       <title>The meaning of the documentation install commands:</title>
118 @y
119       <title>&MeaningOfCommand1;ドキュメント install&MeaningOfCommand2;:</title>
120 @z
121
122 @x
123       <term><option>--no-same-owner</option> and --no-same-permissions</term>
124 @y
125       <term><option>--no-same-owner</option> と --no-same-permissions</term>
126 @z
127 @x
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. 
131         </para>
132 @y
133         <para>
134         インストールするファイルの所有者とパーミッションを適切に設定します。
135         このオプションがないと <application>tar</application> によって展開されるファイルは、アップストリームが作り出した値になってしまうためです。
136         </para>
137 @z
138
139 @x
140     <title>Contents of Python 3</title>
141 @y
142     <title>&ContentsOf1;Python 3&ContentsOf2;</title>
143 @z
144
145 @x
146       <segtitle>Installed Programs</segtitle>
147       <segtitle>Installed Library</segtitle>
148       <segtitle>Installed Directories</segtitle>
149 @y
150       <segtitle>&InstalledProgram;</segtitle>
151       <segtitle>&InstalledLibrary;</segtitle>
152       <segtitle>&InstalledDirectory;</segtitle>
153 @z
154
155 @x
156         <seg>
157           2to3, idle3, pip3, pydoc3, python3, python3-config, and pyvenv
158         </seg>
159         <seg>
160           libpython&python-minor;.so and libpython3.so
161         </seg>
162         <seg>
163           /usr/include/python&python-minor;, 
164           /usr/lib/python3, and
165           /usr/share/doc/python-&python-version;
166         </seg>
167 @y
168         <seg>
169           2to3, idle3, pip3, pydoc3, python3, python3-config, pyvenv
170         </seg>
171         <seg>
172           libpython&python-minor;.so, libpython3.so
173         </seg>
174         <seg>
175           /usr/include/python&python-minor;, 
176           /usr/lib/python3,
177           /usr/share/doc/python-&python-version;
178         </seg>
179 @z
180
181 @x
182       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
183 @y
184       <bridgehead renderas="sect3">&ShortDescriptions;</bridgehead>
185 @z
186
187 @x 2to3
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.
192 @y
193             <application>Python 2.x</application> のソースコードを読み込み、種々の変更を行って <application>Python 3.x</application> 用の適正なソースコードに変換するための <application>Python</application> プログラムです
194 @z
195
196 @x idle3
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.
201 @y
202             <application>Python</application> に特化した GUI エディターを起動するラッパースクリプト。
203             このスクリプトを実行するには、Python より前に <application>Tk</application> をインストールして、Python モジュールである Tkinter をビルドしておく必要があります。
204 @z
205
206 @x pip3
207             The package installer for Python. You can use pip to install
208             packages from Python Package Index and other indexes.
209 @y
210             Python のパッケージインストーラー。
211             この pip を使って Python Package Index などのインデックスサイトから各種パッケージをインストールできます。
212 @z
213
214 @x pydoc3
215             is the <application>Python</application> documentation tool.
216 @y
217             <application>Python</application> ドキュメントツール。
218 @z
219
220 @x python3
221             is an interpreted, interactive, object-oriented programming
222             language.
223 @y
224             インタープリターであり、対話的なオブジェクト指向プログラミング言語。
225 @z
226
227 @x pyvenv
228             creates virtual <application>Python</application> environments in
229             one or more target directories.
230 @y
231             所定ディレクトリ内に、仮想 <application>Python</application> 環境を生成します。
232 @z