this is a german Web-Mirror of PYTHON.ORG powered by Domainunion AG

Differences between revisions 1 and 12 (spanning 11 versions)
Revision 1 as of 2004-04-06 21:03:18
Size: 125
Comment:
Revision 12 as of 2009-01-31 16:24:36
Size: 733
Editor: 61
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Introduction ==
Line 3: Line 5:
----
CategoryDistutilsCookbook
When creating new recipes, use the RecipeTemplate.

== Recipes ==

 * [[/InstallDataScattered]] -- make resource data-files get installed in the same directory tree as the Python files that depend on them
 * [[/AutoDataDiscovery]] -- specify data-files to install with smart_install_data recursively by specifying only a top-level directory
 * [[/AutoPackageDiscovery]] -- specify packages to install recursively by specifying only the top-level package

 * [[/WininstFilename]] -- provide customisation point for altering the filename of bdist_wininst installer (such as to include numpy version information)

Introduction

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

When creating new recipes, use the RecipeTemplate.

Recipes

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

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

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

  • /WininstFilename -- 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.