Skip to content

Commit c0335b1

Browse files
committed
Redirect matplotlib config directory to avoid issues with easy install sanboxing.
1 parent f027663 commit c0335b1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

setup.py

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#! /usr/bin/env python
22
#
33
# Copyright (C) 2012-2014 Michael Waskom <[email protected]>
4+
import os
5+
# temporarily redirect config directory to prevent matplotlib importing
6+
# testing that for writeable directory which results in sandbox error in
7+
# certain easy_install versions
8+
os.environ["MPLCONFIGDIR"] = "."
49

510
DESCRIPTION = "Seaborn: statistical data visualization"
611
LONG_DESCRIPTION = """\

0 commit comments

Comments
 (0)