~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Alexander Belchenko
  • Date: 2007-09-15 05:13:00 UTC
  • mto: (2814.7.1 0.91-integration)
  • mto: This revision was merged to the branch mainline in revision 2866.
  • Revision ID: bialix@ukr.net-20070915051300-fyhdnjmmv97uec4u
double quotes for extension name

Show diffs side-by-side

added added

removed removed

Lines of Context:
176
176
            build_ext.run(self)
177
177
        except DistutilsPlatformError, e:
178
178
            log.warn(str(e))
179
 
            log.warn("Extensions cannot be built, "
180
 
                     "will use the Python versions instead")
 
179
            log.warn('Extensions cannot be built, '
 
180
                     'will use the Python versions instead')
181
181
 
182
182
    def build_extension(self, ext):
183
183
        try:
184
184
            build_ext.build_extension(self, ext)
185
185
        except CCompilerError:
186
 
            log.warn("Building of '%s' extension failed, "
187
 
                     "will use the Python version instead" % (ext.name,))
 
186
            log.warn('Building of "%s" extension failed, '
 
187
                     'will use the Python version instead' % (ext.name,))
188
188
 
189
189
 
190
190
# Override the build_ext if we have Pyrex available