Skip to content

Commit 17e4d18

Browse files
pfmoorewebknjaz
andauthored
Apply suggestions from code review
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]>
1 parent ac061db commit 17e4d18

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

source/guides/windows-applications-embedding.rst

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,12 @@ particular need to make it buildable as a wheel. For the purposes of this
9797
discussion, we will assume one of two project layouts:
9898

9999
1. A project which can be installed via ``pip install``, with all of its
100-
dependencies listed in the ``pyproject.toml`` file, as normal.
100+
dependencies listed in the :file:`pyproject.toml` file, as normal.
101101
2. A Python application stored in a local directory. In this case, third party
102-
dependencies are listed in a ``requirements.txt`` file.
102+
dependencies are listed in a :file:`requirements.txt` file.
103103

104104
When you are ready to build your application, you need to copy all of the
105-
required code and dependencies into the ``lib`` directory of the application.
105+
required code and dependencies into the :file:`lib` directory of the application.
106106
For case (1), this can be done using::
107107

108108
pip install --target "<Application directory>\lib" .
@@ -371,10 +371,10 @@ distribution. You can get the relevant files from a full Python installation
371371
(which must be the same version as you're using for your application). The
372372
files you need are:
373373

374-
* ``_tkinter.pyd``, ``tcl*.dll``, ``tk*.dll`` and ``zlib1.dll`` from
375-
``{sys.prefix}\DLLs``
376-
* The ``tcl`` directory from ``{sys.prefix}``
377-
* The ``tkinter`` directory from ``{sys.prefix}\Lib``
374+
* :file:`_tkinter.pyd`, :file:`tcl*.dll`, :file:`tk*.dll` and :file:`zlib1.dll` from
375+
:file:`{sys.prefix}\DLLs`
376+
* The :file:`tcl` directory from :file:`{sys.prefix}`
377+
* The :file:`tkinter` directory from :file:`{sys.prefix}\Lib`
378378

379379
You should copy all of these into your embedded interpreter directory.
380380

@@ -391,10 +391,9 @@ in cases like this, but you will need to locate it yourself::
391391

392392
python_executable = Path(sys.executable).parent / ("interp/python.exe")
393393

394-
If you are using the ``multiprocessing`` module, it has a specific method you
394+
If you are using the :py:mod:`multiprocessing` module, it has a specific method you
395395
must use to configure it to work correctly in an embedded environment,
396-
documented `in the Library reference
397-
<https://docs.python.org/3.13/library/multiprocessing.html#multiprocessing.set_executable>`_.
396+
documented :py:func:`in the Library reference <multiprocessing.set_executable>`.
398397

399398

400399
What about other operating systems?

0 commit comments

Comments
 (0)