From a357f6b8cd85411a5c6c021a75fdb76fc5dcb1b6 Mon Sep 17 00:00:00 2001 From: David Rose Date: Sun, 8 Nov 2009 19:30:27 +0000 Subject: [PATCH] find dc files --- direct/src/p3d/Packager.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/direct/src/p3d/Packager.py b/direct/src/p3d/Packager.py index ea58cac19e..62b5aa5851 100644 --- a/direct/src/p3d/Packager.py +++ b/direct/src/p3d/Packager.py @@ -1729,7 +1729,7 @@ class Packager: # Text files that are copied (and compressed) to the package # without processing. - self.textExtensions = [ 'prc', 'ptf', 'txt', 'cg', 'sha' ] + self.textExtensions = [ 'prc', 'ptf', 'txt', 'cg', 'sha', 'dc' ] # Binary files that are copied (and compressed) without # processing. @@ -2800,6 +2800,9 @@ class Packager: if not newDir: newDir = '' + # Adding the directory to sys.path is a cheesy way to help the + # modulefinder find it. + sys.path.append(dirname.toOsSpecific()) self.__recurseDir(dirname, newDir, unprocessed = unprocessed) def __recurseDir(self, filename, newName, unprocessed = None):