Skip to content

Commit 3059573

Browse files
committed
FIX: Fix MPL issue
1 parent 59486fb commit 3059573

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
descr = """PySurfer: Python / FreeSurfer / Mayavi2 for brain imaging"""
88

99
import os
10+
# deal with MPL sandbox violations during easy_install
11+
os.environ['MPLCONFIGDIR'] = '.'
12+
1013
import surfer
1114

1215
DISTNAME = 'pysurfer'
@@ -19,9 +22,6 @@
1922
DOWNLOAD_URL = 'https://github.com/nipy/PySurfer'
2023
VERSION = surfer.__version__
2124

22-
# deal with MPL sandbox violations during easy_install
23-
os.environ['MPLCONFIGDIR'] = '.'
24-
2525
import setuptools # we are using a setuptools namespace
2626
from numpy.distutils.core import setup
2727

0 commit comments

Comments
 (0)