about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaweł Jastrzębski <pawelj@iosphe.re>2015-08-09 10:08:24 +0200
committerPaweł Jastrzębski <pawelj@iosphe.re>2015-08-09 10:08:24 +0200
commit370c9d4df7e0abb670db57c2a6271512fda3b874 (patch)
treeb2c7404143ae196d7c002a545585b826f8570e0a
parentFixed detection of file corruption (diff)
downloadkcc-370c9d4df7e0abb670db57c2a6271512fda3b874.tar.gz
kcc-370c9d4df7e0abb670db57c2a6271512fda3b874.tar.bz2
kcc-370c9d4df7e0abb670db57c2a6271512fda3b874.zip
Tweaked setup.py
-rwxr-xr-xsetup.py2
1 files changed, 1 insertions, 1 deletions
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