77msgstr ""
88"Project-Id-Version: Python Packaging User Guide\n"
99"Report-Msgid-Bugs-To: \n"
10- "POT-Creation-Date: 2024-10-30 00 :39+0000\n"
10+ "POT-Creation-Date: 2024-11-24 11 :39+0000\n"
1111"PO-Revision-Date: 2024-01-18 07:31+0000\n"
1212"Last-Translator: Youcef Guenaoua <
[email protected] >\n"
1313"Language-Team: Arabic <https://hosted.weblate.org/projects/pypa/packaging-"
@@ -2638,29 +2638,16 @@ msgid ""
26382638msgstr ""
26392639
26402640#: ../source/glossary.rst:121
2641- msgid "Known Good Set (KGS)"
2642- msgstr ""
2643-
2644- #: ../source/glossary.rst:124
2645- msgid ""
2646- "A set of distributions at specified versions which are compatible with each "
2647- "other. Typically a test suite will be run which passes all tests before a "
2648- "specific set of packages is declared a known good set. This term is commonly "
2649- "used by frameworks and toolkits which are comprised of multiple individual "
2650- "distributions."
2651- msgstr ""
2652-
2653- #: ../source/glossary.rst:130
26542641msgid "Import Package"
26552642msgstr ""
26562643
2657- #: ../source/glossary.rst:133
2644+ #: ../source/glossary.rst:124
26582645msgid ""
26592646"A Python module which can contain other modules or recursively, other "
26602647"packages."
26612648msgstr ""
26622649
2663- #: ../source/glossary.rst:136
2650+ #: ../source/glossary.rst:127
26642651msgid ""
26652652"An import package is more commonly referred to with the single word "
26662653"\"package\", but this guide will use the expanded term when more clarity is "
@@ -2669,17 +2656,30 @@ msgid ""
26692656"package` for a breakdown of the differences."
26702657msgstr ""
26712658
2672- #: ../source/glossary.rst:142
2659+ #: ../source/glossary.rst:133
26732660msgid "Installed Project"
26742661msgstr ""
26752662
2676- #: ../source/glossary.rst:145
2663+ #: ../source/glossary.rst:136
26772664msgid ""
26782665"A :term:`Project` that is installed for use with a Python interpreter or :"
26792666"term:`Virtual Environment`, as described in the specicifcation :ref:"
26802667"`recording-installed-packages`."
26812668msgstr ""
26822669
2670+ #: ../source/glossary.rst:140
2671+ msgid "Known Good Set (KGS)"
2672+ msgstr ""
2673+
2674+ #: ../source/glossary.rst:143
2675+ msgid ""
2676+ "A set of distributions at specified versions which are compatible with each "
2677+ "other. Typically a test suite will be run which passes all tests before a "
2678+ "specific set of packages is declared a known good set. This term is commonly "
2679+ "used by frameworks and toolkits which are comprised of multiple individual "
2680+ "distributions."
2681+ msgstr ""
2682+
26832683#: ../source/glossary.rst:149
26842684msgid "Module"
26852685msgstr ""
@@ -21268,7 +21268,7 @@ msgid ""
2126821268msgstr ""
2126921269
2127021270#: ../source/tutorials/managing-dependencies.rst:140
21271- #: ../source/tutorials/packaging-projects.rst:506
21271+ #: ../source/tutorials/packaging-projects.rst:505
2127221272msgid "Next steps"
2127321273msgstr ""
2127421274
@@ -21717,43 +21717,43 @@ msgstr ""
2171721717
2171821718#: ../source/tutorials/packaging-projects.rst:424
2171921719msgid ""
21720- "You will be prompted for a username and password. For the username, use "
21721- "``__token__``. For the password, use the token value, including the ``pypi- "
21722- "`` prefix ."
21720+ "You will be prompted for an API token. Use the token value, including the "
21721+ "``pypi-`` prefix. Note that the input will be hidden, so be sure to paste "
21722+ "correctly ."
2172321723msgstr ""
2172421724
21725- #: ../source/tutorials/packaging-projects.rst:428
21725+ #: ../source/tutorials/packaging-projects.rst:427
2172621726msgid "After the command completes, you should see output similar to this:"
2172721727msgstr ""
2172821728
21729- #: ../source/tutorials/packaging-projects.rst:439
21729+ #: ../source/tutorials/packaging-projects.rst:438
2173021730msgid ""
2173121731"Once uploaded, your package should be viewable on TestPyPI; for example: "
2173221732"``https://test.pypi.org/project/example_package_YOUR_USERNAME_HERE``."
2173321733msgstr ""
2173421734
21735- #: ../source/tutorials/packaging-projects.rst:444
21735+ #: ../source/tutorials/packaging-projects.rst:443
2173621736msgid "Installing your newly uploaded package"
2173721737msgstr ""
2173821738
21739- #: ../source/tutorials/packaging-projects.rst:446
21739+ #: ../source/tutorials/packaging-projects.rst:445
2174021740msgid ""
2174121741"You can use :ref:`pip` to install your package and verify that it works. "
2174221742"Create a :ref:`virtual environment <Creating and using Virtual "
2174321743"Environments>` and install your package from TestPyPI:"
2174421744msgstr ""
2174521745
21746- #: ../source/tutorials/packaging-projects.rst:462
21746+ #: ../source/tutorials/packaging-projects.rst:461
2174721747msgid "Make sure to specify your username in the package name!"
2174821748msgstr ""
2174921749
21750- #: ../source/tutorials/packaging-projects.rst:464
21750+ #: ../source/tutorials/packaging-projects.rst:463
2175121751msgid ""
2175221752"pip should install the package from TestPyPI and the output should look "
2175321753"something like this:"
2175421754msgstr ""
2175521755
21756- #: ../source/tutorials/packaging-projects.rst:474
21756+ #: ../source/tutorials/packaging-projects.rst:473
2175721757msgid ""
2175821758"This example uses ``--index-url`` flag to specify TestPyPI instead of live "
2175921759"PyPI. Additionally, it specifies ``--no-deps``. Since TestPyPI doesn't have "
@@ -21763,97 +21763,97 @@ msgid ""
2176321763"installing dependencies when using TestPyPI."
2176421764msgstr ""
2176521765
21766- #: ../source/tutorials/packaging-projects.rst:481
21766+ #: ../source/tutorials/packaging-projects.rst:480
2176721767msgid ""
2176821768"You can test that it was installed correctly by importing the package. Make "
2176921769"sure you're still in your virtual environment, then run Python:"
2177021770msgstr ""
2177121771
21772- #: ../source/tutorials/packaging-projects.rst:496
21772+ #: ../source/tutorials/packaging-projects.rst:495
2177321773msgid "and import the package:"
2177421774msgstr ""
2177521775
21776- #: ../source/tutorials/packaging-projects.rst:508
21776+ #: ../source/tutorials/packaging-projects.rst:507
2177721777msgid ""
2177821778"**Congratulations, you've packaged and distributed a Python project!** ✨ 🍰 "
2177921779"✨"
2178021780msgstr ""
2178121781
21782- #: ../source/tutorials/packaging-projects.rst:511
21782+ #: ../source/tutorials/packaging-projects.rst:510
2178321783msgid ""
2178421784"Keep in mind that this tutorial showed you how to upload your package to "
2178521785"Test PyPI, which isn't a permanent storage. The Test system occasionally "
2178621786"deletes packages and accounts. It is best to use TestPyPI for testing and "
2178721787"experiments like this tutorial."
2178821788msgstr ""
2178921789
21790- #: ../source/tutorials/packaging-projects.rst:516
21790+ #: ../source/tutorials/packaging-projects.rst:515
2179121791msgid ""
2179221792"When you are ready to upload a real package to the Python Package Index you "
2179321793"can do much the same as you did in this tutorial, but with these important "
2179421794"differences:"
2179521795msgstr ""
2179621796
21797- #: ../source/tutorials/packaging-projects.rst:520
21797+ #: ../source/tutorials/packaging-projects.rst:519
2179821798msgid ""
2179921799"Choose a memorable and unique name for your package. You don't have to "
2180021800"append your username as you did in the tutorial, but you can't use an "
2180121801"existing name."
2180221802msgstr ""
2180321803
21804- #: ../source/tutorials/packaging-projects.rst:522
21804+ #: ../source/tutorials/packaging-projects.rst:521
2180521805msgid ""
2180621806"Register an account on https://pypi.org - note that these are two separate "
2180721807"servers and the login details from the test server are not shared with the "
2180821808"main server."
2180921809msgstr ""
2181021810
21811- #: ../source/tutorials/packaging-projects.rst:525
21811+ #: ../source/tutorials/packaging-projects.rst:524
2181221812msgid ""
2181321813"Use ``twine upload dist/*`` to upload your package and enter your "
2181421814"credentials for the account you registered on the real PyPI. Now that "
2181521815"you're uploading the package in production, you don't need to specify ``--"
2181621816"repository``; the package will upload to https://pypi.org/ by default."
2181721817msgstr ""
2181821818
21819- #: ../source/tutorials/packaging-projects.rst:529
21819+ #: ../source/tutorials/packaging-projects.rst:528
2182021820msgid ""
2182121821"Install your package from the real PyPI using ``python3 -m pip install [your-"
2182221822"package]``."
2182321823msgstr ""
2182421824
21825- #: ../source/tutorials/packaging-projects.rst:531
21825+ #: ../source/tutorials/packaging-projects.rst:530
2182621826msgid ""
2182721827"At this point if you want to read more on packaging Python libraries here "
2182821828"are some things you can do:"
2182921829msgstr ""
2183021830
21831- #: ../source/tutorials/packaging-projects.rst:534
21831+ #: ../source/tutorials/packaging-projects.rst:533
2183221832msgid ""
2183321833"Read about advanced configuration for your chosen build backend: `Hatchling "
2183421834"<hatchling-config_>`_, :doc:`setuptools <setuptools:userguide/"
2183521835"pyproject_config>`, :doc:`Flit <flit:pyproject_toml>`, `PDM <pdm-config_>`_."
2183621836msgstr ""
2183721837
21838- #: ../source/tutorials/packaging-projects.rst:538
21838+ #: ../source/tutorials/packaging-projects.rst:537
2183921839msgid ""
2184021840"Look at the :doc:`guides </guides/index>` on this site for more advanced "
2184121841"practical information, or the :doc:`discussions </discussions/index>` for "
2184221842"explanations and background on specific topics."
2184321843msgstr ""
2184421844
21845- #: ../source/tutorials/packaging-projects.rst:541
21845+ #: ../source/tutorials/packaging-projects.rst:540
2184621846msgid ""
2184721847"Consider packaging tools that provide a single command-line interface for "
2184821848"project management and packaging, such as :ref:`hatch`, :ref:`flit`, :ref:"
2184921849"`pdm`, and :ref:`poetry`."
2185021850msgstr ""
2185121851
21852- #: ../source/tutorials/packaging-projects.rst:549
21852+ #: ../source/tutorials/packaging-projects.rst:548
2185321853msgid "Notes"
2185421854msgstr ""
2185521855
21856- #: ../source/tutorials/packaging-projects.rst:551
21856+ #: ../source/tutorials/packaging-projects.rst:550
2185721857msgid ""
2185821858"Technically, you can also create Python packages without an ``__init__.py`` "
2185921859"file, but those are called :doc:`namespace packages </guides/packaging-"
0 commit comments