We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d5109fa + 79c60cb commit 314e602Copy full SHA for 314e602
setupegg.py
@@ -2,7 +2,19 @@
2
Poor man's setuptools script...
3
"""
4
5
+import os
6
+import sys
7
from setuptools import setup
8
+
9
+# Setupegg assumes the install tree and source tree are exactly the same. Since
10
+# this is not the case, symlink the correct dateutil dir depending on which
11
+# version of python is used
12
+if not os.path.isdir('lib/dateutil'):
13
+ if sys.version_info[0] >= 3:
14
+ os.symlink('dateutil_py3', 'lib/dateutil')
15
+ else:
16
+ os.symlink('dateutil_py2', 'lib/dateutil')
17
18
execfile('setup.py',
19
{'additional_params' :
20
{'namespace_packages' : ['mpl_toolkits'],
0 commit comments