Commit 287a7582 authored by Gary Poster's avatar Gary Poster

windows fix

parent d7c5f3fb
...@@ -108,8 +108,10 @@ try: ...@@ -108,8 +108,10 @@ try:
to_reload = True to_reload = True
raise ImportError raise ImportError
except ImportError: except ImportError:
ez_code = urllib2.urlopen(
options.setup_source).read().replace('\r\n', '\n')
ez = {} ez = {}
exec urllib2.urlopen(options.setup_source).read() in ez exec ez_code in ez
setup_args = dict(to_dir=eggs_dir, download_delay=0) setup_args = dict(to_dir=eggs_dir, download_delay=0)
if options.download_base: if options.download_base:
setup_args['download_base'] = options.download_base setup_args['download_base'] = options.download_base
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment