Skip to content

Commit

Permalink
pin pip to py2.4 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
ejucovy committed May 5, 2013
1 parent 966f6ac commit 4b074ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions fassembler-boot.py
Expand Up @@ -398,14 +398,14 @@ def install_pip(py_executable):
filenames.sort()
filenames = [filename for basename, i, filename in filenames]
if not filenames:
filename = 'pip'
filename = 'pip==1.1'
else:
filename = filenames[-1]
easy_install_script = 'easy_install'
if sys.platform == 'win32':
easy_install_script = 'easy_install-script.py'
cmd = [py_executable, join(os.path.dirname(py_executable), easy_install_script), filename]
if filename == 'pip':
if filename == 'pip==1.1':
logger.info('Installing pip from network...')
else:
logger.info('Installing %s' % os.path.basename(filename))
Expand Down Expand Up @@ -655,7 +655,7 @@ def create_environment(home_dir, site_packages=True, clear=False,
else:
install_setuptools(py_executable, unzip=unzip_setuptools)

#install_pip(py_executable)
install_pip(py_executable)

install_activate(home_dir, bin_dir, prompt)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -36,7 +36,7 @@
'virtualenv',
'Pygments',
'MySQL-python==1.2.3', # At least, some projects require MySQL access
'pip',
'pip==1.1',
],
## FIXME: release all of these once fassembler stabilizes:
dependency_links=[
Expand Down

0 comments on commit 4b074ab

Please sign in to comment.