1. michael b
  2. fsgamer

Commits

michael b  committed 2a94596

Adding trick to give feedback if being run with python3

  • Participants
  • Parent commits 5961f97
  • Branches default

Comments (0)

Files changed (1)

File setup.py

View file
  • Ignore whitespace
 # This program is free software: you can redistribute it and/or modify it 
 # under the terms of the GNU General Public License version 3, as published 
 # by the Free Software Foundation.
-# 
+#
 # This program is distributed in the hope that it will be useful, but 
 # WITHOUT ANY WARRANTY; without even the implied warranties of 
 # MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR 
 # PURPOSE.  See the GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License along 
 # with this program.  If not, see <http://www.gnu.org/licenses/>.
 ### END LICENSE
 import os
 import sys
 
+_python3_error = u'It looks like you are running Python 3. FSGamer only supports Python 2. Use python2 to run FSGamer.'
+
 try:
     import DistUtilsExtra.auto
 except ImportError:
         update_config(previous_values)
 
 
-        
 ##################################################################################
 ###################### YOU SHOULD MODIFY ONLY WHAT IS BELOW ######################
 ##################################################################################