--- setup.py 2007/01/31 00:37:43 1.1 +++ setup.py 2007/01/31 00:37:54 @@ -130,6 +130,8 @@ except ImportError: print "!!! Required module '%s' not found." % module self.config_failed.append(module) + except RuntimeError: + print "Warning: import of module '%s' failed; assuming OK" % module else: print "Module '%s' found." % module for key, ver in version_checks: @@ -230,7 +230,7 @@ class install_lib_Gaphor(install_lib, ve print 'self', dir(self) print 'self.get_finalized_command("install")', dir(self.get_finalized_command('install')) - skip = len(self.get_finalized_command('install').root or '') + skip = len((self.get_finalized_command('install').root or '').rstrip('/')) self.generate_version(self.install_dir, self.install_data[skip:]) install_lib.run(self) @@ -430,15 +432,6 @@ 'gaphor.actions', 'gaphor.actions.tests', 'gaphas', - 'zope', - 'zope.interface', - 'zope.component.bbb', - 'zope.component.bbb.tests', - 'zope.interface.common', - 'zope.component', - 'zope.exceptions', - 'zope.deprecation', - 'zope.testing', ], # ext_modules=ext_modules,