--- setup.py.orig 2007-01-30 19:11:32.000000000 +0000 +++ setup.py.orig 2007-01-30 19:13:15.000000000 +0000 @@ -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: @@ -168,7 +170,7 @@ f.write('"""\nVersion information generated by setup.py. DO NOT EDIT.\n"""\n\n') f.write('VERSION=\'%s\'\n' % VERSION) # expand backspaces - f.write('DATA_DIR=\'%s\'\n' % data_dir.replace('\\', '\\\\')) + f.write("DATA_DIR='/usr/share/gaphor'\n") if os.name == 'nt': home = 'USERPROFILE' else: @@ -430,15 +432,11 @@ '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,