home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / share / doc / python2.4 / README.Debian < prev    next >
Encoding:
Text File  |  2007-04-12  |  2.6 KB  |  94 lines

  1.  
  2.   Python 2.4 for Debian
  3.   ---------------------
  4.  
  5. This is Python 2.4 packaged for Debian.
  6.  
  7. This document contains information specific to the Debian packages of
  8. Python 2.4.
  9.  
  10.  
  11.  
  12.    [TODO: This document is not yet up-to-date with the packages.]
  13.  
  14. Currently, it features those two main topics:
  15.  
  16.   1. Release notes for the Debian packages:
  17.   2. Notes for developers using the Debian Python packages:
  18.  
  19. Release notes and documentation from the upstream package are installed
  20. in /usr/share/doc/python2.4/.
  21.  
  22. There's a mailing list for discussion of issues related to Python on Debian
  23. systems: debian-python@lists.debian.org. The list is not intended for
  24. general Python problems, but as a forum for maintainers of Python-related
  25. packages and interested third parties.
  26.  
  27.  
  28.  
  29. 1. Release notes for the Debian packages:
  30.  
  31.  
  32. Results of the regression test:
  33. ------------------------------
  34.  
  35. The package does successfully run the regression tests for all included
  36. modules. Seven packages are skipped since they are platform-dependent and
  37. can't be used with Linux.
  38.  
  39.  
  40. 2. Notes for developers using the Debian python packages:
  41.  
  42. See the draft of the Debian Python policy in /usr/share/doc/python.
  43.  
  44. distutils can be found in the python2.4-dev package. Development files
  45. like the python library or Makefiles can be found in the python2.4-dev
  46. package in /usr/lib/python2.4/config.
  47.  
  48. a) Locally installed Python add-ons
  49.  
  50.     /usr/local/lib/python2.4/site-packages/
  51.     /usr/local/lib/site-python/ (version-independent modules)
  52.  
  53. b) Python add-ons packaged for Debian
  54.  
  55.     /usr/lib/python2.4/site-packages/
  56.     /usr/lib/site-python/ (version-independent modules)
  57.  
  58. Note that no package must install files directly into /usr/lib/python2.4/
  59. or /usr/local/lib/python2.4/. Only the site-packages directory is allowed
  60. for third-party extensions.
  61.  
  62. Use of the new `package' scheme is strongly encouraged. The `ni' interface
  63. is obsolete in python 1.5.
  64.  
  65. Header files for extensions go into /usr/include/python2.4/.
  66.  
  67.  
  68. Installing extensions for local use only:
  69. ----------------------------------------
  70.  
  71. Consider using distutils ...
  72.  
  73. Most extensions use Python's Makefile.pre.in. Note that Makefile.pre.in
  74. by default will install files into /usr/lib/, not into /usr/local/lib/,
  75. which is not allowed for local extensions. You'll have to change the
  76. Makefile accordingly. Most times, "make prefix=/usr/local install" will
  77. work.
  78.  
  79.  
  80. Packaging python extensions for Debian:
  81. --------------------------------------
  82.  
  83. Maintainers of Python extension packages should read
  84.  
  85.     /usr/share/doc/python/python-policy.txt.gz
  86.  
  87.  
  88.  
  89.  
  90.     03/09/98
  91.     Gregor Hoffleit <flight@debian.org>
  92.  
  93. Last change: 2001-12-14
  94.