10000 fixed setup.py · matplotlib/matplotlib@c9426ab · GitHub
[go: up one dir, main page]

Skip to content

Commit c9426ab

Browse files
committed
fixed setup.py
svn path=/trunk/matplotlib/; revision=153
1 parent a8b1850 commit c9426ab

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

DEVNOTES

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ http://matplotlib.sourceforge.net
2626

2727
### Doing a release
2828

29+
0) when building the win installer, comment out the import ttfquery in
30+
build_fonttools
31+
2932
0) Run examples/batch_figs.py w/o errors; run the backend specific
3033
demos (object_picker, anim , embedding*)
3134

setupext.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,11 @@ def build_agg(ext_modules, packages):
145145

146146
def build_fonttools(ext_modules, packages):
147147

148+
# don't build it if we have it
149+
try: import ttfquery
150+
except ImportError: pass
151+
else: return
152+
148153
global BUILT_FONTTOOLS
149154

150155
if BUILT_FONTTOOLS: return # only build it if you you haven't already

0 commit comments

Comments
 (0)
0