From 370c9d4df7e0abb670db57c2a6271512fda3b874 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Jastrz=C4=99bski?= Date: Sun, 9 Aug 2015 10:08:24 +0200 Subject: [PATCH] Tweaked setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 64774e5..95b712c 100755 --- a/setup.py +++ b/setup.py @@ -95,7 +95,7 @@ elif platform == 'win32': zipfile=None, data_files=additional_files) else: - if argv[1] == 'make_pyz': + if len(argv) > 1 and argv[1] == 'make_pyz': from os import system script = ''' cp kcc.py __main__.py