mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
Fix the required module stuff
This commit is contained in:
parent
6b861d66bc
commit
aeb6bef42d
@ -536,9 +536,9 @@ class Packager:
|
||||
|
||||
# But first, make sure that all required modules are present.
|
||||
missing = []
|
||||
moduleDict = dict(self.freezer.getModuleDefs()).keys()
|
||||
for module in self.requiredModules:
|
||||
if module not in self.freezer.modules.keys() or \
|
||||
self.freezer.modules[module].exclude:
|
||||
if module not in moduleDict:
|
||||
missing.append(module)
|
||||
if len(missing) > 0:
|
||||
self.notify.warning("Cannot build package %s, missing required modules: %r" % (self.packageName, missing))
|
||||
|
@ -98,7 +98,7 @@ class pil(package):
|
||||
'TarIO', 'TgaImagePlugin', 'TiffImagePlugin', 'TiffTags',
|
||||
'WalImageFile', 'WmfImagePlugin', 'XVThumbImagePlugin',
|
||||
'XbmImagePlugin', 'XpmImagePlugin', '_imaging',
|
||||
'_imagingmath', '_imagingtk', )
|
||||
'_imagingmath', '_imagingtk')
|
||||
|
||||
class pyopengl(package):
|
||||
config(display_name = "PyOpenGL")
|
||||
|
Loading…
x
Reference in New Issue
Block a user