Skip to content

Commit da2b03d

Browse files
Update messages.pot as of version 2d832c4
1 parent e7598db commit da2b03d

1 file changed

Lines changed: 35 additions & 35 deletions

File tree

‎locales/messages.pot‎

Lines changed: 35 additions & 35 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: 2024-10-30 00:39+0000\n"
11+
"POT-Creation-Date: 2024-11-24 11:39+0000\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"
@@ -1822,31 +1822,31 @@ msgid "A :term:`Module` written in the low-level language of the Python implemen
18221822
msgstr ""
18231823

18241824
#: ../source/glossary.rst:121
1825-
msgid "Known Good Set (KGS)"
1825+
msgid "Import Package"
18261826
msgstr ""
18271827

18281828
#: ../source/glossary.rst:124
1829-
msgid "A set of distributions at specified versions which are compatible with each other. Typically a test suite will be run which passes all tests before a specific set of packages is declared a known good set. This term is commonly used by frameworks and toolkits which are comprised of multiple individual distributions."
1829+
msgid "A Python module which can contain other modules or recursively, other packages."
18301830
msgstr ""
18311831

1832-
#: ../source/glossary.rst:130
1833-
msgid "Import Package"
1832+
#: ../source/glossary.rst:127
1833+
msgid "An import package is more commonly referred to with the single word \"package\", but this guide will use the expanded term when more clarity is needed to prevent confusion with a :term:`Distribution Package` which is also commonly called a \"package\". See :ref:`distribution-package-vs-import-package` for a breakdown of the differences."
18341834
msgstr ""
18351835

18361836
#: ../source/glossary.rst:133
1837-
msgid "A Python module which can contain other modules or recursively, other packages."
1837+
msgid "Installed Project"
18381838
msgstr ""
18391839

18401840
#: ../source/glossary.rst:136
1841-
msgid "An import package is more commonly referred to with the single word \"package\", but this guide will use the expanded term when more clarity is needed to prevent confusion with a :term:`Distribution Package` which is also commonly called a \"package\". See :ref:`distribution-package-vs-import-package` for a breakdown of the differences."
1841+
msgid "A :term:`Project` that is installed for use with a Python interpreter or :term:`Virtual Environment`, as described in the specicifcation :ref:`recording-installed-packages`."
18421842
msgstr ""
18431843

1844-
#: ../source/glossary.rst:142
1845-
msgid "Installed Project"
1844+
#: ../source/glossary.rst:140
1845+
msgid "Known Good Set (KGS)"
18461846
msgstr ""
18471847

1848-
#: ../source/glossary.rst:145
1849-
msgid "A :term:`Project` that is installed for use with a Python interpreter or :term:`Virtual Environment`, as described in the specicifcation :ref:`recording-installed-packages`."
1848+
#: ../source/glossary.rst:143
1849+
msgid "A set of distributions at specified versions which are compatible with each other. Typically a test suite will be run which passes all tests before a specific set of packages is declared a known good set. This term is commonly used by frameworks and toolkits which are comprised of multiple individual distributions."
18501850
msgstr ""
18511851

18521852
#: ../source/glossary.rst:149
@@ -14320,7 +14320,7 @@ msgid "Using ``pipenv run`` ensures that your installed packages are available t
1432014320
msgstr ""
1432114321

1432214322
#: ../source/tutorials/managing-dependencies.rst:140
14323-
#: ../source/tutorials/packaging-projects.rst:506
14323+
#: ../source/tutorials/packaging-projects.rst:505
1432414324
msgid "Next steps"
1432514325
msgstr ""
1432614326

@@ -14589,93 +14589,93 @@ msgid "Once installed, run Twine to upload all of the archives under :file:`dist
1458914589
msgstr ""
1459014590

1459114591
#: ../source/tutorials/packaging-projects.rst:424
14592-
msgid "You will be prompted for a username and password. For the username, use ``__token__``. For the password, use the token value, including the ``pypi-`` prefix."
14592+
msgid "You will be prompted for an API token. Use the token value, including the ``pypi-`` prefix. Note that the input will be hidden, so be sure to paste correctly."
1459314593
msgstr ""
1459414594

14595-
#: ../source/tutorials/packaging-projects.rst:428
14595+
#: ../source/tutorials/packaging-projects.rst:427
1459614596
msgid "After the command completes, you should see output similar to this:"
1459714597
msgstr ""
1459814598

14599-
#: ../source/tutorials/packaging-projects.rst:439
14599+
#: ../source/tutorials/packaging-projects.rst:438
1460014600
msgid "Once uploaded, your package should be viewable on TestPyPI; for example: ``https://test.pypi.org/project/example_package_YOUR_USERNAME_HERE``."
1460114601
msgstr ""
1460214602

14603-
#: ../source/tutorials/packaging-projects.rst:444
14603+
#: ../source/tutorials/packaging-projects.rst:443
1460414604
msgid "Installing your newly uploaded package"
1460514605
msgstr ""
1460614606

14607-
#: ../source/tutorials/packaging-projects.rst:446
14607+
#: ../source/tutorials/packaging-projects.rst:445
1460814608
msgid "You can use :ref:`pip` to install your package and verify that it works. Create a :ref:`virtual environment <Creating and using Virtual Environments>` and install your package from TestPyPI:"
1460914609
msgstr ""
1461014610

14611-
#: ../source/tutorials/packaging-projects.rst:462
14611+
#: ../source/tutorials/packaging-projects.rst:461
1461214612
msgid "Make sure to specify your username in the package name!"
1461314613
msgstr ""
1461414614

14615-
#: ../source/tutorials/packaging-projects.rst:464
14615+
#: ../source/tutorials/packaging-projects.rst:463
1461614616
msgid "pip should install the package from TestPyPI and the output should look something like this:"
1461714617
msgstr ""
1461814618

14619-
#: ../source/tutorials/packaging-projects.rst:474
14619+
#: ../source/tutorials/packaging-projects.rst:473
1462014620
msgid "This example uses ``--index-url`` flag to specify TestPyPI instead of live PyPI. Additionally, it specifies ``--no-deps``. Since TestPyPI doesn't have the same packages as the live PyPI, it's possible that attempting to install dependencies may fail or install something unexpected. While our example package doesn't have any dependencies, it's a good practice to avoid installing dependencies when using TestPyPI."
1462114621
msgstr ""
1462214622

14623-
#: ../source/tutorials/packaging-projects.rst:481
14623+
#: ../source/tutorials/packaging-projects.rst:480
1462414624
msgid "You can test that it was installed correctly by importing the package. Make sure you're still in your virtual environment, then run Python:"
1462514625
msgstr ""
1462614626

14627-
#: ../source/tutorials/packaging-projects.rst:496
14627+
#: ../source/tutorials/packaging-projects.rst:495
1462814628
msgid "and import the package:"
1462914629
msgstr ""
1463014630

14631-
#: ../source/tutorials/packaging-projects.rst:508
14631+
#: ../source/tutorials/packaging-projects.rst:507
1463214632
msgid "**Congratulations, you've packaged and distributed a Python project!** ✨ 🍰 ✨"
1463314633
msgstr ""
1463414634

14635-
#: ../source/tutorials/packaging-projects.rst:511
14635+
#: ../source/tutorials/packaging-projects.rst:510
1463614636
msgid "Keep in mind that this tutorial showed you how to upload your package to Test PyPI, which isn't a permanent storage. The Test system occasionally deletes packages and accounts. It is best to use TestPyPI for testing and experiments like this tutorial."
1463714637
msgstr ""
1463814638

14639-
#: ../source/tutorials/packaging-projects.rst:516
14639+
#: ../source/tutorials/packaging-projects.rst:515
1464014640
msgid "When you are ready to upload a real package to the Python Package Index you can do much the same as you did in this tutorial, but with these important differences:"
1464114641
msgstr ""
1464214642

14643-
#: ../source/tutorials/packaging-projects.rst:520
14643+
#: ../source/tutorials/packaging-projects.rst:519
1464414644
msgid "Choose a memorable and unique name for your package. You don't have to append your username as you did in the tutorial, but you can't use an existing name."
1464514645
msgstr ""
1464614646

14647-
#: ../source/tutorials/packaging-projects.rst:522
14647+
#: ../source/tutorials/packaging-projects.rst:521
1464814648
msgid "Register an account on https://pypi.org - note that these are two separate servers and the login details from the test server are not shared with the main server."
1464914649
msgstr ""
1465014650

14651-
#: ../source/tutorials/packaging-projects.rst:525
14651+
#: ../source/tutorials/packaging-projects.rst:524
1465214652
msgid "Use ``twine upload dist/*`` to upload your package and enter your credentials for the account you registered on the real PyPI. Now that you're uploading the package in production, you don't need to specify ``--repository``; the package will upload to https://pypi.org/ by default."
1465314653
msgstr ""
1465414654

14655-
#: ../source/tutorials/packaging-projects.rst:529
14655+
#: ../source/tutorials/packaging-projects.rst:528
1465614656
msgid "Install your package from the real PyPI using ``python3 -m pip install [your-package]``."
1465714657
msgstr ""
1465814658

14659-
#: ../source/tutorials/packaging-projects.rst:531
14659+
#: ../source/tutorials/packaging-projects.rst:530
1466014660
msgid "At this point if you want to read more on packaging Python libraries here are some things you can do:"
1466114661
msgstr ""
1466214662

14663-
#: ../source/tutorials/packaging-projects.rst:534
14663+
#: ../source/tutorials/packaging-projects.rst:533
1466414664
msgid "Read about advanced configuration for your chosen build backend: `Hatchling <hatchling-config_>`_, :doc:`setuptools <setuptools:userguide/pyproject_config>`, :doc:`Flit <flit:pyproject_toml>`, `PDM <pdm-config_>`_."
1466514665
msgstr ""
1466614666

14667-
#: ../source/tutorials/packaging-projects.rst:538
14667+
#: ../source/tutorials/packaging-projects.rst:537
1466814668
msgid "Look at the :doc:`guides </guides/index>` on this site for more advanced practical information, or the :doc:`discussions </discussions/index>` for explanations and background on specific topics."
1466914669
msgstr ""
1467014670

14671-
#: ../source/tutorials/packaging-projects.rst:541
14671+
#: ../source/tutorials/packaging-projects.rst:540
1467214672
msgid "Consider packaging tools that provide a single command-line interface for project management and packaging, such as :ref:`hatch`, :ref:`flit`, :ref:`pdm`, and :ref:`poetry`."
1467314673
msgstr ""
1467414674

14675-
#: ../source/tutorials/packaging-projects.rst:549
14675+
#: ../source/tutorials/packaging-projects.rst:548
1467614676
msgid "Notes"
1467714677
msgstr ""
1467814678

14679-
#: ../source/tutorials/packaging-projects.rst:551
14679+
#: ../source/tutorials/packaging-projects.rst:550
1468014680
msgid "Technically, you can also create Python packages without an ``__init__.py`` file, but those are called :doc:`namespace packages </guides/packaging-namespace-packages>` and considered an **advanced topic** (not covered in this tutorial). If you are only getting started with Python packaging, it is recommended to stick with *regular packages* and ``__init__.py`` (even if the file is empty)."
1468114681
msgstr ""

0 commit comments

Comments
 (0)