From 0188d5b1c7ffe93bbc7947ebf995a955e590ee6e Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Sun, 29 Nov 2015 14:50:44 +0100 Subject: [PATCH] better binary archive names --- rtool.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rtool.py b/rtool.py index e12592194..73a43f9a4 100644 --- a/rtool.py +++ b/rtool.py @@ -219,7 +219,11 @@ def bdist(ctx, use_existing_sdist): archive_name = "{project}-{version}-{platform}".format( project=p, version=version(p), - platform=platform.system() + platform={ + "Darwin": "osx", + "Windows": "win32", + "Linux": "linux" + }.get(platform.system(), platform.system()) ) with Archive(join(DIST_DIR, archive_name)) as archive: for tool in conf["tools"]: