File: embedded-python.rst

package info (click to toggle)
python3-defaults 3.13.7-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 672 kB
  • sloc: python: 1,274; makefile: 391; sh: 107
file content (19 lines) | stat: -rw-r--r-- 725 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Programs Embedding Python
=========================

Building Embedded Programs
--------------------------

Any package that installs a program which embeds a Python interpreter
must declare ``Build-Depends`` on :samp:`python{X}.{Y}-dev`, where
:samp:`{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.

Embedded Python Dependencies
----------------------------

Dependencies for programs linking against the shared Python library will
be automatically created by ``dpkg-shlibdeps``.
The :samp:`libpython{X}.{Y}.so.{Z}` library the program is built against
is provided by the :samp:`python{X}.{Y}` package.