@@ -208,6 +208,8 @@ msgid ""
208208"only affects the source for pure Python modules. The simplest case, a "
209209"single extension module in a single C source file, is::"
210210msgstr ""
211+ "扩展模块用 ``ext_modules`` 选项指定。``package_dir`` 对在哪寻找扩展源文件无效;它只对纯 Python "
212+ "模块的源文件有效。最简单的,一个用单个C源文件写的单扩展模块是:"
211213
212214#: ../../distutils/examples.rst:211
213215msgid ""
@@ -224,7 +226,7 @@ msgstr "如果扩展在包中,比如 :mod:`foopkg`,那么"
224226msgid ""
225227"With exactly the same source tree layout, this extension can be put in the "
226228":mod:`foopkg` package simply by changing the name of the extension::"
227- msgstr ""
229+ msgstr "使用完全相同的源文件树排布,通过改变扩展的名字,这个扩展很容易放入 :mod:`foopkg` 包中: "
228230
229231#: ../../distutils/examples.rst:234
230232msgid "Checking a package"
@@ -234,13 +236,13 @@ msgstr "检查一个包"
234236msgid ""
235237"The ``check`` command allows you to verify if your package meta-data meet "
236238"the minimum requirements to build a distribution."
237- msgstr ""
239+ msgstr "``check`` 命令允许你校验你的包的元数据是否满足生成分发的最低要求。 "
238240
239241#: ../../distutils/examples.rst:239
240242msgid ""
241243"To run it, just call it using your :file:`setup.py` script. If something is "
242244"missing, ``check`` will display a warning."
243- msgstr ""
245+ msgstr "直接使用你的 :file:`setup.py` 脚本来运行它。如果缺了一些东西,``check`` 会显示警告。 "
244246
245247#: ../../distutils/examples.rst:242
246248msgid "Let's take an example with a simple script::"
@@ -256,6 +258,8 @@ msgid ""
256258" `docutils`_ is installed you can check if the syntax is fine with the "
257259"``check`` command, using the ``restructuredtext`` option."
258260msgstr ""
261+ "如果你在 ``long_description`` 域中使用 reStructuredText 语法,并且安装了`docutils`_ ,你可以用 "
262+ "``check`` 命令,和 ``restructuredtext`` 选项检查语法是否正确。"
259263
260264#: ../../distutils/examples.rst:263
261265msgid "For example, if the :file:`setup.py` script is changed like this::"
@@ -265,7 +269,7 @@ msgstr "比如,如果 :file:`setup.py` 脚本改成:"
265269msgid ""
266270"Where the long description is broken, ``check`` will be able to detect it by"
267271" using the :mod:`docutils` parser:"
268- msgstr ""
272+ msgstr "长描述中有问题的地方,通过使用 :mod:`docutils` 解析器,``check`` 能进行删除: "
269273
270274#: ../../distutils/examples.rst:289
271275msgid "Reading the metadata"
0 commit comments