PolicyStat / terrarium

Package and ship relocatable python virtualenvs, like a boss.
https://terrarium.readthedocs.io/en/latest
BSD 3-Clause "New" or "Revised" License
171 stars 14 forks source link

[1.0.1] no pip log being displayed to stdout #62

Closed kylegibson closed 5 years ago

kylegibson commented 7 years ago

This happens when using only new versions of virtualenv (15.0, 15.1) but not older versions <= 1.9.1

Possible fix, saving for later:

    from pip.status_codes import SUCCESS

    results = pip.main(['install', '--require-virtualenv', '--ignore-installed', '-r', file_path])
    os.unlink(file_path)

    if results != SUCCESS:
        raise Exception('pip install did not succeed')