forked from letmaik/rawpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWINDOWS_COMPILE
33 lines (22 loc) · 962 Bytes
/
WINDOWS_COMPILE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
First, read appveyor/run_with_env.cmd and see which Windows SDK (contains the compiler)
you need to install.
Open a command shell, and set the following variables depending on which Python you use:
set PYTHON_VERSION=2.7 # or 3.x
set PYTHON_ARCH=32 # or 64
Then you can compile with:
cmd /E:ON /V:ON /C .\appveyor\run_with_env.cmd python setup.py bdist_wheel
OpenMP support
==============
Python >= 2.6 and < 3.3
-----------------------
If you have Visual Studio 2008 SP1 installed you're done, otherwise please download:
Visual C++ 2008 SP1 Redistributable Package (x86)
http://www.microsoft.com/en-us/download/details.aspx?id=5582
Visual C++ 2008 SP1 Redistributable Package (x64)
http://www.microsoft.com/en-us/download/details.aspx?id=2092
Python >= 3.3 and < 3.5
-----------------------
You need to have Visual Studio 2010 Professional (or Premium or Ultimate) installed.
Python >= 3.5
-------------
You need to have Visual Studio 2015 installed.