/usr/share/doc/python3/python-policy.html
NameSizeModeActions
build_dependencies.html35090644editdlrm
embed.html36180644editdlrm
index.html97200644editdlrm
module_packages.html168660644editdlrm
other.html22860644editdlrm
packaging_tools.html75150644editdlrm
programs.html70100644editdlrm
python.html215220644editdlrm
python3.html36300644editdlrm
upgrade.html51600644editdlrm
Edit: /usr/share/doc/python3/python-policy.html/embed.html (3618B)
Chapter 5. Programs Embedding Python

Chapter 5. Programs Embedding Python

5.1. Building Embedded Programs

Any package that installs a program which embeds a Python interpreter must declare Build-Depends on pythonX.Y-dev, where X.Y is the Python version the program builds against. It should be the current default Python version unless the program does not work correctly with this version.

5.2. Embedded Python Dependencies

Dependencies for programs linking against the shared Python library will be automatically created by dpkg-shlibdeps. The libpythonX.Y.so.Z library the program is built against is provided by the pythonX.Y package.