Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions setupegg.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,11 @@
# 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
os.chdir('lib')
if not os.path.isdir('dateutil'):
if not os.path.isdir('lib/dateutil'):
if sys.version_info[0] >= 3:
os.symlink('dateutil_py3', 'dateutil')
os.symlink('dateutil_py3', 'lib/dateutil')
else:
os.symlink('dateutil_py2', 'dateutil')
os.chdir('..')
os.symlink('dateutil_py2', 'lib/dateutil')

execfile('setup.py',
{'additional_params' :
Expand Down