Skip to content

Commit 5c87dd7

Browse files
committed
Update noxfile.py
1 parent 0108bc6 commit 5c87dd7

2 files changed

Lines changed: 4 additions & 13 deletions

File tree

locales/messages.pot

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python Packaging User Guide \n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2021-07-06 16:32+0800\n"
11+
"POT-Creation-Date: 2021-07-06 19:32+0800\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -5732,10 +5732,6 @@ msgstr ""
57325732
msgid "Python and PyPI make it easy to upload both wheels and sdists together. Just follow the :doc:`tutorials/packaging-projects` tutorial."
57335733
msgstr ""
57345734

5735-
#: ../source/overview.rst:148
5736-
msgid "A summary of Python's packaging capabilities for tools and libraries."
5737-
msgstr ""
5738-
57395735
#: ../source/overview.rst:148
57405736
msgid "Python's recommended built-in library and tool packaging technologies. Excerpted from `The Packaging Gradient (2017) <https://www.youtube.com/watch?v=iLVNWfPWAC8>`_."
57415737
msgstr ""
@@ -6048,10 +6044,6 @@ msgstr ""
60486044
msgid "Embed your code on an `Adafruit <https://github.com/adafruit/circuitpython#adafruit-circuitpython>`_, `MicroPython <https://micropython.org/>`_, or more-powerful hardware running Python, then ship it to the datacenter or your users' homes. They plug and play, and you can call it a day."
60496045
msgstr ""
60506046

6051-
#: ../source/overview.rst:389
6052-
msgid "A summary of technologies used to package Python applications."
6053-
msgstr ""
6054-
60556047
#: ../source/overview.rst:389
60566048
msgid "The simplified gamut of technologies used to package Python applications."
60576049
msgstr ""

noxfile.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@ def translation(session):
1212
target_dir = "locales"
1313
session.run(
1414
"sphinx-build",
15-
"-b", # select a builder
16-
"gettext", # build gettext-style message catalogs (.pot file)
15+
"-b", "gettext", # build gettext-style message catalogs (.pot file)
1716
"source/", # where the rst files are located
18-
target_dir, # where to put the .pot file
1917
"-d",
20-
".nox/", # path to put the cache (.doctrees)
18+
".nox/.doctrees/", # path to put the cache
19+
target_dir, # where to put the .pot file
2120
)
2221

2322
@nox.session(py="3")

0 commit comments

Comments
 (0)