Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 uid=1(daemon) gid=1(daemon) grupos=1(daemon) Safe-mode: OFF (not secure) /usr/share/doc/python3/python-policy.html/ drwxr-xr-x | |
| Viewing file: Select action/file-type: Table of Contents
At any given time, the binary package
In some cases, Python policy explicitly references Python helper
tools. For Debian Stretch, the It is a design goal to fully specify required interfaces and functions in policy for Python 3 and to avoid enshrining specific implementation details in policy. Except as noted, policy for Python 2 is the same as Python 3 with the exception of the different major version number as needed to distinguish them. The default Debian Python version, for each of Python 3 and Python 2, should always be the latest stable upstream version that can be fully integrated in Debian. There may be newer supported or unsupported versions included in Debian if they are not fully integrated for a particular release. Apart from the default version, legacy versions of Python or beta releases of future upstream versions may be included as well in Debian, as long as they are needed by other packages, or as long as it seems reasonable to provide them. Note: For the scope of this document, a Python version is synonymous with all micro versions within that minor version. e.g. Python 3.5.0 and 3.5.1 are micro versions of the same Python version 3.5, but Python 3.4 and 3.5 are indeed different versions.
For any version, the main binary package must be called
The set of currently supported Python 3 versions can be found
in
These files are in Python
Newer versions might also appear in
For every Python version provided in Debian, the binary
package
Installation of
Excluded are modules that cannot be included for licensing reasons
(for example the
Some tools and files for the development of Python
modules are split off in a separate binary package
Documentation will be provided separately as well.
At any time, the
The version of the
At any time, the
The version of the
The
For every Python version provided in Debian, the binary package
The different Python major versions require different interpreters (see Section 2.2, “Main packages”).
Python scripts that require the default Python 3 version should
specify
Python scripts that require the default Python 2 version should
specify
Python scripts may specify
Python scripts that only work with a specific Python minor
version must explicitly use the versioned interpreter name
( Python scripts should specify the Debian Python interpreter, to ensure that the Debian Python installation is used and all dependencies on additional Python modules are met.
The preferred specification for the Python 3 interpreter is
The preferred specification for the Python 2 interpreter is
Scripts requiring the default Python 2 version may instead
specify the interpreter
Maintainers should not override the Debian Python interpreter
using
By default, Python modules are searched in the directories listed
in the
Directories with private Python modules must be absent from the
Public Python 3 modules must be installed in the system Python 3
modules directory,
Public Python 2 modules must be installed in the system Python 2
modules directory
A special directory is dedicated to public Python modules
installed by the local administrator,
For local installation of Python modules by the system
administrator, special directories are reserved. The
directory
Additional information on appending site-specific paths to the
module search path is available in the official documentation of
the
Python modules which work with multiple supported Python 2
versions must install to version-specific locations, for instance
Architecture-independent public Python 3 modules must be installed
to
Architecture-independent public Python 2 modules should be
installed to
The This mechanism is required to handle changes of the default Python runtime in some packages and to enable the Python packaging helpers. There are three supported hook types which come in the form of scripts which are invoked from the maintainer scripts of the Python runtime packages when specific installations, removals, or upgrades occur.
Python documentation is split out in separate binary packages
The binary package TODO: Policy for documentation of third party packages. |
:: Command execute :: | |
--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.5508 ]-- |