From 36d731186e547e3fd3652e42ac9f6bcb8e8fc5b9 Mon Sep 17 00:00:00 2001 From: sephiroth99 Date: Tue, 14 Jan 2014 01:05:10 -0500 Subject: [PATCH] Update python script and building manual --- docs/building.md | 4 +++- xenia-build.py | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/building.md b/docs/building.md index 8f560e4dc..84fa7acf3 100644 --- a/docs/building.md +++ b/docs/building.md @@ -8,8 +8,10 @@ video drivers for your card. ### Windows +* Windows 8 or 8.1 * Visual Studio 2013 -* [Python 2.7](http://www.python.org/download/releases/2.7.5/) +* [Python 2.7](http://www.python.org/download/releases/2.7.6/) +* If you are on Windows 8, you will also need the [Windows 8.1 SDK](http://msdn.microsoft.com/en-us/windows/desktop/bg162891) Ensure Python is in your PATH (`C:\Python27\`). diff --git a/xenia-build.py b/xenia-build.py index 43e686f6e..53bcf1cfc 100755 --- a/xenia-build.py +++ b/xenia-build.py @@ -26,7 +26,7 @@ def main(): ]) # Check python version. - if sys.version_info < (2, 7): + if not sys.version_info[:2] == (2, 7): print('ERROR: python 2.7 required') print('(unfortunately gyp doesn\'t work with 3!)') sys.exit(1) @@ -35,9 +35,9 @@ def main(): # Grab Visual Studio version and execute shell to set up environment. if sys.platform == 'win32': vs_version = import_vs_environment() - if not vs_version: - print('ERROR: Visual Studio not found!') - print('Ensure you have a VS1XXCOMNTOOLS environment variable!') + if not vs_version == 2013: + print('ERROR: Visual Studio 2013 not found!') + print('Ensure you have the VS120COMNTOOLS environment variable!') sys.exit(1) return