1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 09:46:25 +00:00

Detect Python 2 + README update

This commit is contained in:
Paweł Jastrzębski
2014-01-18 12:15:45 +01:00
parent b1e7a88353
commit d99064596a
6 changed files with 22 additions and 8 deletions

6
kcc.py Normal file → Executable file
View File

@@ -23,6 +23,11 @@ __license__ = 'ISC'
__copyright__ = '2012-2013, Ciro Mattia Gonano <ciromattia@gmail.com>, Pawel Jastrzebski <pawelj@vulturis.eu>'
__docformat__ = 'restructuredtext en'
import sys
if sys.version_info[0] != 3:
print('ERROR: This is Python 3 script!')
exit(1)
# Dependiences check
missing = []
try:
@@ -60,7 +65,6 @@ if len(missing) > 0:
print('ERROR: ' + ', '.join(missing) + ' is not installed!')
exit(1)
import sys
import os
from multiprocessing import freeze_support
from kcc import KCC_gui