Differences between revisions 18 and 19
Revision 18 as of 2009-12-14 21:48:12
Size: 2189
Comment: Remove some bits superseded by recent policy update
Revision 19 as of 2010-01-03 10:51:47
Size: 1699
Editor: HenriLeFoll
Comment: move bytecode to Python , add mailing list & IRC
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Python in Debian = <<TableOfContents(3)>>
Line 3: Line 3:
Software written in the Python programming language is executed by Python interpreter and is usually
compiled into platform independent bytecode files to increase performance. Thus software that written
in pure Python can be distributed as source code or as compiled bytecode. The latter is similar to
Java. Unfortunately, compiled bytecode files are incompatible from Python version to Python version.
Certain Debian system may have several Python versions available, so to avoid distributing several
packages for each version, Debian Policy makes sure that Python code is distributed in clear form
and compiled only during installation process on target system. Python is able to compile and write
bytecode *.pyc files alongside with *.py sources when *.py is executed, but insufficient permissions
may not allow it to write in corresponding directories, so to avoid drop-down in performance
compiling is done during installation.
== Python in Debian ==
Within the Debian project Python packages are maintained by individual developers and three main teams :
Line 14: Line 6:
The so-called C-Python interpreter is a software
package containing both the compiler and the bytecode interpreter used to execute Python files.
Within the Debian project the Python compiler/interpreter package is maintained by a developers team known as [[http://alioth.debian.org/projects/pkg-python|pkg-python]]. Python modules and extensions are maintained by individual developers and by a coordinated group called [[Teams/PythonModulesTeam|Debian Python Modules Team]]. There are also Python applications that are maintained by a separate [[Teams/PythonAppsPackagingTeam|Python Applications Packaging Team]].
 * [[http://alioth.debian.org/projects/pkg-python|pkg-python]] maintains the Python compiler/interpreter package.

 * [[Teams/PythonModulesTeam|Debian Python Modules Team]] maintains Python modules and extensions.

 * [[Teams/PythonAppsPackagingTeam|Python Applications Packaging Team]] maintains some Python applications.

On the [[http://lists.debian.org/debian-python/recent|debian-python mailing list]] you can follow the latest developments.

On [[IRC]] some people use the channel #debian-python to discuss

For more information read the [[DebianPythonFAQ|FAQ]] and this [[DebianPython/ListOfPackages|incomplete list of Python's packages in Debian]]
Line 19: Line 20:
Line 22: Line 22:
[[ReleaseGoals/Python2.6|Python 2.6 as default]] is a goal for squeeze

Line 23: Line 26:
The Debian Python Policy describes conventions for packaging and distributing Python code in Debian.
Line 24: Line 28:
Text of Debian Python Policy describes conventions for packaging and distributing Python code in Debian. The official text is located at http://www.debian.org/doc/packaging-manuals/python-policy/. The official text is located at http://www.debian.org/doc/packaging-manuals/python-policy/.
Line 28: Line 32:
if you want to maintain a Python package, you have to know how the [[DebianDevelopment|Debian Development]] works.
Line 29: Line 35:

* [[DebianPythonFAQ]]
 * [[Python]]   
Line 32: Line 38:
 * DebianPython/ListOfPackages  * [[IRC/debian-python/FAQ]]
 * [[DebianPython/Namespaces]]
 * [[DebianPython/Policy]]
 * [[DebianPython/BSP]]
 
 

Python in Debian

Within the Debian project Python packages are maintained by individual developers and three main teams :

On the debian-python mailing list you can follow the latest developments.

On IRC some people use the channel #debian-python to discuss

For more information read the FAQ and this ?incomplete list of Python's packages in Debian

Supported Python Versions

Debian's latest release Lenny contains multiple Python versions: 2.5 (the default) and 2.4.

?Python 2.6 as default is a goal for squeeze

Debian Python Policy for Python developers

The Debian Python Policy describes conventions for packaging and distributing Python code in Debian.

The official text is located at http://www.debian.org/doc/packaging-manuals/python-policy/.

Feel free to ask any questions on debian-python@l.d.o mailing list and contribute to ?DebianPython/Tutorial.

if you want to maintain a Python package, you have to know how the Debian Development works.

See also