-
Notifications
You must be signed in to change notification settings - Fork 638
Setting up Windows
Min RK edited this page Nov 4, 2015
·
11 revisions
Setting up a Windows dev environment
Recording the steps I use to get a dev VM set up to build Windows bdists for pyzmq. Right now, I'm running this on Windows Server 2012 x64.
Commands assume powershell run as admin.
-
install chocolatey
-
choco install atom git git.commandline
-
choco install python3 python2 python3-x86_32 python2-x86_32
-
install Python 3.4 manually from Python.org (until there's a python34 package)
-
choco install windows-sdk-7.0
(py2) -
choco install windows-sdk-7.1
(py34, had to remove vc2010 redistributable or it would fail) -
choco install VisualStudio2015Community
(py35, had to reboot and modify installation to get VC++) -
symlinks for paths in choco python:
cmd /c mklink /d C:\Python27_64 C:\ProgramData\chocolatey\lib\python2\tools cmd /c mklink /d C:\Python27 C:\ProgramData\chocolatey\lib\python2-x86_32\tools cmd /c mklink /d C:\Python35_64 C:\ProgramData\chocolatey\lib\python3\tools cmd /c mklink /d C:\Python35 C:\ProgramData\chocolatey\lib\python3-x86_32\tools
At this point, I can build a pyzmq bdist with:
# update everything
choco upgrade all
cmd /k tools/release_windows.bat [upload]