ASPN ActiveState Programmer Network
  ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups | Web Services
SEARCH
advanced | search help

Reference
ActivePython 2.4
Python Documentation
Distributing Python Modules
9. Command Reference
9.1 Installing modules: the install command family
9.2 Creating a source distribution: the sdist command

MyASPN >> Reference >> ActivePython 2.4 >> Python Documentation >> Distributing Python Modules >> 9. Command Reference
ActivePython 2.4 documentation


9.2 Creating a source distribution: the sdist command

fragment moved down from above: needs context!

The manifest template commands are:

Command Description
include pat1 pat2 ... include all files matching any of the listed patterns
exclude pat1 pat2 ... exclude all files matching any of the listed patterns
recursive-include dir pat1 pat2 ... include all files under dir matching any of the listed patterns
recursive-exclude dir pat1 pat2 ... exclude all files under dir matching any of the listed patterns
global-include pat1 pat2 ... include all files anywhere in the source tree matching
& any of the listed patterns
global-exclude pat1 pat2 ... exclude all files anywhere in the source tree matching
& any of the listed patterns
prune dir exclude all files under dir
graft dir include all files under dir

The patterns here are Unix-style ``glob'' patterns: * matches any sequence of regular filename characters, ? matches any single regular filename character, and [range] matches any of the characters in range (e.g., a-z, a-zA-Z, a-f0-9_.). The definition of ``regular filename character'' is platform-specific: on Unix it is anything except slash; on Windows anything except backslash or colon; on Mac OS 9 anything except colon.

Windows support not there yet

See About this document... for information on suggesting changes.

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState 2004 All rights reserved