Merge pull request #71 from sephiroth99/master
Update python script and building manual
This commit is contained in:
commit
a8d9b46533
|
@ -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\`).
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue