Check that setup.py is executed with Python 3.4 or above

This commit is contained in:
Mathieu Comandon 2016-09-30 10:46:48 -07:00
parent ebf2751b89
commit da5b126b33

View file

@ -1,8 +1,12 @@
#!/usr/bin/python3
import os
import sys
from setuptools import setup
from lutris.settings import VERSION
if sys.version_info < (3, 4):
sys.exit('Python 3.4 is required to run Lutris')
data_files = []
for directory, _, filenames in os.walk(u'share'):