Skip to content
Myr

Removed optional speedups extension hack.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

--HG-- branch : trunk

authored by Armin Ronacher · committed by Armin Ronacher · parent 8f31a34 · Browse files · 1 file+0 added−23 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−23 removed

  • other:+0 added−23 removed

1 file+0 added−23 removed

modified:setup.py-23 removed
74 unmodified lines
75 except:76 return 80777879class optional_build_ext(build_ext):80 """This class allows C extension building to fail."""8182 def run(self):83 try:84 build_ext.run(self)85 except DistutilsPlatformError:86 self._unavailable()8788 def build_extension(self, ext):89 try:90 build_ext.build_extension(self, ext)91 except CCompilerError, x:92 self._unavailable()9394 def _unavailable(self):95 width = get_terminal_width()96 print '*' * width97 print """WARNING:98An optional C extension could not be compiled, speedups will not be99available."""10010179setup(80 name='Jinja2',81 version=VERSION,82 url='http://jinja.pocoo.org/',
36 unmodified lines