|
18 | 18 | # This dict will be updated as we try to select the best option during |
19 | 19 | # the build process. However, values in setup.cfg will be used, if |
20 | 20 | # defined. |
21 | | -rc = {'backend':'Agg', 'numerix':'numpy'} |
| 21 | +rc = {'backend':'Agg'} |
22 | 22 |
|
23 | 23 | # BEFORE importing disutils, remove MANIFEST. distutils doesn't properly |
24 | 24 | # update it when the contents of directories change. |
|
52 | 52 | 'matplotlib.projections', |
53 | 53 | # 'matplotlib.toolkits', |
54 | 54 | 'mpl_toolkits', |
55 | | - 'matplotlib.numerix', |
56 | | - 'matplotlib.numerix.mlab', |
57 | | - 'matplotlib.numerix.ma', |
58 | | - 'matplotlib.numerix.npyma', |
59 | | - 'matplotlib.numerix.linear_algebra', |
60 | | - 'matplotlib.numerix.random_array', |
61 | | - 'matplotlib.numerix.fft', |
62 | 55 | 'matplotlib.sphinxext' |
63 | 56 | ] |
64 | 57 |
|
@@ -224,14 +217,12 @@ def add_dateutil(): |
224 | 217 |
|
225 | 218 | # Write the default matplotlibrc file |
226 | 219 | if options['backend']: rc['backend'] = options['backend'] |
227 | | -if options['numerix']: rc['numerix'] = options['numerix'] |
228 | 220 | template = file('matplotlibrc.template').read() |
229 | 221 | file('lib/matplotlib/mpl-data/matplotlibrc', 'w').write(template%rc) |
230 | 222 |
|
231 | 223 | # Write the default matplotlib.conf file |
232 | 224 | template = file('lib/matplotlib/mpl-data/matplotlib.conf.template').read() |
233 | 225 | template = template.replace("datapath = ", "#datapath = ") |
234 | | -template = template.replace("numerix = 'numpy'", "numerix = '%s'"%rc['numerix']) |
235 | 226 | template = template.replace(" use = 'Agg'", " use = '%s'"%rc['backend']) |
236 | 227 | file('lib/matplotlib/mpl-data/matplotlib.conf', 'w').write(template) |
237 | 228 |
|
|
0 commit comments