Differences between revisions 7 and 8
Revision 7 as of 2004-04-08 03:50:10
Size: 884
Editor: CPE0004e21253a5-CM012059940518
Comment:
Revision 8 as of 2008-11-15 13:59:46
Size: 886
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
 * Jeremy Hylton has written a Python Package Index (PyPI) [http://www.python.org/~jeremy/weblog/030924.html tutorial]. This covers the use of the distutils register command.  * Jeremy Hylton has written a Python Package Index (PyPI) [[http://www.python.org/~jeremy/weblog/030924.html|tutorial]]. This covers the use of the distutils register command.

The Distutils Cookbook collects various useful recipes and tips for using the Distutils.

When creating new recipes, use the RecipeTemplate.

  • DistutilsInstallDataScattered -- make resource data-files get installed in the same directory tree as the Python files that depend on them

  • DistutilsAutoDataDiscovery -- specify data-files to install with smart_install_data recursively by specifying only a top-level directory

  • DistutilsAutoPackageDiscovery -- specify packages to install recursively by specifying only the top-level package

  • Jeremy Hylton has written a Python Package Index (PyPI) tutorial. This covers the use of the distutils register command.

  • DistutilsWininstFilename -- provide customisation point for altering the filename of bdist_wininst installer (such as to include numpy version information)

Distutils/Cookbook (last edited 2009-01-31 16:24:36 by 61)

Unable to edit the page? See the FrontPage for instructions.