Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 56641 | Differences between
and this patch

Collapse All | Expand All

(-)setup.py.orig (-5 / +3 lines)
Lines 130-135 Link Here
130
        except ImportError:
130
        except ImportError:
131
            print "!!! Required module '%s' not found." % module
131
            print "!!! Required module '%s' not found." % module
132
            self.config_failed.append(module)
132
            self.config_failed.append(module)
133
        except RuntimeError:
134
            print "Warning: import of module '%s' failed; assuming OK" % module
133
        else:
135
        else:
134
            print "Module '%s' found." % module
136
            print "Module '%s' found." % module
135
            for key, ver in version_checks:
137
            for key, ver in version_checks:
Lines 168-174 Link Here
168
        f.write('"""\nVersion information generated by setup.py. DO NOT EDIT.\n"""\n\n')
170
        f.write('"""\nVersion information generated by setup.py. DO NOT EDIT.\n"""\n\n')
169
        f.write('VERSION=\'%s\'\n' % VERSION)
171
        f.write('VERSION=\'%s\'\n' % VERSION)
170
        # expand backspaces
172
        # expand backspaces
171
        f.write('DATA_DIR=\'%s\'\n' % data_dir.replace('\\', '\\\\'))
173
        f.write("DATA_DIR='/usr/share/gaphor'\n")
172
        if os.name == 'nt':
174
        if os.name == 'nt':
173
            home = 'USERPROFILE'
175
            home = 'USERPROFILE'
174
        else:
176
        else:
Lines 430-444 Link Here
430
                'gaphor.actions',
432
                'gaphor.actions',
431
                'gaphor.actions.tests',
433
                'gaphor.actions.tests',
432
                'gaphas',
434
                'gaphas',
433
                'zope',
434
                'zope.interface',
435
                'zope.component.bbb',
435
                'zope.component.bbb',
436
                'zope.component.bbb.tests',
436
                'zope.component.bbb.tests',
437
                'zope.interface.common',
438
                'zope.component',
437
                'zope.component',
439
                'zope.exceptions',
438
                'zope.exceptions',
440
                'zope.deprecation',
439
                'zope.deprecation',
441
                'zope.testing',
442
                
440
                
443
      ],
441
      ],
444
#      ext_modules=ext_modules,
442
#      ext_modules=ext_modules,

Return to bug 56641