Skip to content

Commit 59486fb

Browse files
committed
FIX: Deal with MPL and easy_install
1 parent 6d75f34 commit 59486fb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
DOWNLOAD_URL = 'https://github.com/nipy/PySurfer'
2020
VERSION = surfer.__version__
2121

22+
# deal with MPL sandbox violations during easy_install
23+
os.environ['MPLCONFIGDIR'] = '.'
24+
2225
import setuptools # we are using a setuptools namespace
2326
from numpy.distutils.core import setup
2427

0 commit comments

Comments
 (0)