diff options
author | Jesús <heckyel@hyperbola.info> | 2020-06-01 18:10:07 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2020-06-01 18:10:07 -0500 |
commit | 9bcdcbda2b5e34c204976e7b43de62f9ac7bd591 (patch) | |
tree | 01f5dfb56728728133795484110a9614cdaec9bf /helperscripts | |
parent | 99f96dc8b20ebfaeb51019001771f138a02ff1cd (diff) | |
download | librevideoconverter-9bcdcbda2b5e34c204976e7b43de62f9ac7bd591.tar.lz librevideoconverter-9bcdcbda2b5e34c204976e7b43de62f9ac7bd591.tar.xz librevideoconverter-9bcdcbda2b5e34c204976e7b43de62f9ac7bd591.zip |
pep8
Diffstat (limited to 'helperscripts')
-rwxr-xr-x | helperscripts/windows-virtualenv/__main__.py | 6 | ||||
-rwxr-xr-x | helperscripts/windows-virtualenv/virtualenv.py | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/helperscripts/windows-virtualenv/__main__.py b/helperscripts/windows-virtualenv/__main__.py index 76c91b7..9305f6c 100755 --- a/helperscripts/windows-virtualenv/__main__.py +++ b/helperscripts/windows-virtualenv/__main__.py @@ -156,16 +156,16 @@ def parse_args(): def writeout(msg, *args): """write a line to stdout.""" - print msg % args + print(msg % args) def writeout_and_stay(msg, *args): """write a line to stdout and stay on the same line.""" # clear out old line - print " " * 70 + "\r", + print(" " * 70 + "\r"), # write out new line - print (msg % args) + "\r", + print((msg % args) + "\r"), sys.stdout.flush() diff --git a/helperscripts/windows-virtualenv/virtualenv.py b/helperscripts/windows-virtualenv/virtualenv.py index 66f3e3d..54310ed 100755 --- a/helperscripts/windows-virtualenv/virtualenv.py +++ b/helperscripts/windows-virtualenv/virtualenv.py @@ -619,6 +619,7 @@ def install_distribute(py_executable, unzip=False, _install_req(py_executable, unzip, distribute=True, search_dirs=search_dirs, never_download=never_download) + _pip_re = re.compile(r'^pip-.*(zip|tar.gz|tar.bz2|tgz|tbz)$', re.I) @@ -1596,6 +1597,7 @@ def make_environment_relocatable(home_dir): fixup_pth_and_egg_link(home_dir) # FIXME: need to fix up distutils.cfg + OK_ABS_SCRIPTS = ['python', 'python%s' % sys.version[:3], 'activate', 'activate.bat', 'activate_this.py'] |