Preliminary AppVeyor support

This commit is contained in:
albertosottile 2018-04-24 16:12:59 +02:00
parent bcb7e7104f
commit 0d47140ccf

View File

@ -7,12 +7,12 @@
#2) It is expected that you will have NSIS 3 NSIS from http://nsis.sourceforge.net installed. #2) It is expected that you will have NSIS 3 NSIS from http://nsis.sourceforge.net installed.
import sys, codecs import sys, codecs
try: # try:
if (sys.version_info.major != 2) or (sys.version_info.minor < 7): # if (sys.version_info.major != 2) or (sys.version_info.minor < 7):
raise Exception("You must build Syncplay with Python 2.7!") # raise Exception("You must build Syncplay with Python 2.7!")
except AttributeError: # except AttributeError:
import warnings # import warnings
warnings.warn("You must build Syncplay with Python 2.7!") # warnings.warn("You must build Syncplay with Python 2.7!")
from distutils.core import setup from distutils.core import setup
from py2exe.build_exe import py2exe from py2exe.build_exe import py2exe