I have an 'ignore' directory within the game folder, with various subfolders and files that are useful for testing but not supposed to be released with the game.
I must be stupid, but I cannot figure out the pattern for classifying files as 'ignore' when building a distribution.
The documentation says this:
I have tried the following, unsuccessfully:The classification is done by the build.classify function. It takes a patterns and a space-separated list of filenames. Patterns are matched from first to last, with the first match taking precedence (even if a more-specific pattern follows.) Patterns are matched with and without a leading /. Patterns may include the following special characters:
/
The directory separator.
*
Matches all characters except for the directory separator.
**
Matches all characters.
Code: Select all
build.classify('ignore/**', None)
build.classify('ignore/', None)
build.classify('ignore**', None)
build.classify('ignore/**.**', None)