diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2016-06-18 17:29:44 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2016-06-18 17:29:44 +0200 |
commit | 053bc0ed12473cda43046a05fd063e7f40b0c9bf (patch) | |
tree | 7a88e146e52d0275bcbf996ba21d38e57512ff75 /.ci | |
parent | 34caac994ba446a68ff084d374a4fd5c886883d5 (diff) | |
download | psutil-053bc0ed12473cda43046a05fd063e7f40b0c9bf.tar.gz |
#810: rename windows wheels to make pip 7.1.2 happy
Diffstat (limited to '.ci')
-rwxr-xr-x | .ci/appveyor/download_exes.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.ci/appveyor/download_exes.py b/.ci/appveyor/download_exes.py index 52cfc739..37ebdfd1 100755 --- a/.ci/appveyor/download_exes.py +++ b/.ci/appveyor/download_exes.py @@ -111,6 +111,18 @@ def get_file_urls(options): yield url +def rename_27_wheels(): + # See: https://github.com/giampaolo/psutil/issues/810 + src = 'dist/psutil-4.3.0-cp27-cp27m-win32.whl' + dst = 'dist/psutil-4.3.0-cp27-none-win32.whl' + print("rename: %s\n %s" % (src, dst)) + os.rename(src, dst) + src = 'dist/psutil-4.3.0-cp27-cp27m-win_amd64.whl' + dst = 'dist/psutil-4.3.0-cp27-none-win_amd64.whl' + print("rename: %s\n %s" % (src, dst)) + os.rename(src, dst) + + def main(options): files = [] safe_rmtree('dist') @@ -124,6 +136,7 @@ def main(options): if expected != got: print(hilite("expected %s files, got %s" % (expected, got), ok=False), file=sys.stderr) + rename_27_wheels() if __name__ == '__main__': |