forked from matplotlib/matplotlib
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetupegg.py
More file actions
22 lines (19 loc) · 694 Bytes
/
setupegg.py
File metadata and controls
22 lines (19 loc) · 694 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
"""
Poor man's setuptools script...
"""
import os
import sys
from setuptools import setup
# Setupegg assumes the install tree and source tree are exactly the same. Since
# this is not the case, symlink the correct dateutil dir depending on which
# version of python is used
if not os.path.isdir('lib/dateutil'):
if sys.version_info[0] >= 3:
os.symlink('dateutil_py3', 'lib/dateutil')
else:
os.symlink('dateutil_py2', 'lib/dateutil')
execfile('setup.py',
{'additional_params' :
{'namespace_packages' : ['mpl_toolkits'],
#'entry_points': {'nose.plugins': ['KnownFailure = matplotlib.testing.noseclasses:KnownFailure', ] }
}})