Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support a richer variety of virtualenv directories #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on May 6, 2014

  1. Update shebang manipulation to work in more cases

    If a python interpreter is specified to virtualenv using, eg
    --python=python2.7, then this script ends up not rewriting the #! lines.
    Instead of a suffix match, check that they end with something that exists
    in the bin directory, and if so update them to point to that same thing in
    the new path.
    samv committed May 6, 2014
    Configuration menu
    Copy the full SHA
    26d5f83 View commit details
    Browse the repository at this point in the history
  2. Add support for PyPy virtualenv directories

    PyPy uses a slightly different virtualenv layout; instead of lib/python2.7
    you'll see lib-python/2.7; adapt accordingly.  Also its bin/python ends up
    being a symlink.  Finally, there is a bin/__pycache__ directory which needs
    skipping in update_script().
    samv committed May 6, 2014
    Configuration menu
    Copy the full SHA
    49b8931 View commit details
    Browse the repository at this point in the history