Changeset 9456


Ignore:
Timestamp:
Nov 30, 2014 11:21:20 AM (4 years ago)
Author:
wehart
Message:

Changes that will ignore the 'ensurepip' logic in Python 3.4.
This logic doesn't actually provide a link to the installation
of pip. Until we know that we need that, I'm inclined to
omit this logic for simplicity.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pyomo/trunk/scripts/pyomo_install

    r9455 r9456  
    326326    # Verify that pip is installed
    327327    #
    328     try:
    329         import pip
    330     except:
    331         if options.verbose:
    332             print("\n************* Installing pip *******************")
    333         install_pip(upgrade=options.zipfile is None, user=False, quiet=not options.verbose)
     328    # TODO: how check if pip is on the user path for the current version of python?
     329    #
     330    if options.verbose:
     331        print("\n************* Installing pip *******************")
     332    install_pip(upgrade=options.zipfile is None, user=False, quiet=not options.verbose)
    334333    pip = os.path.abspath(os.path.join(pyomo_install_tempdir, sys.exec_prefix[1:], 'bin', 'pip'))
    335334    if not os.path.exists(pip):
Note: See TracChangeset for help on using the changeset viewer.