-
Notifications
You must be signed in to change notification settings - Fork 636
Setting up Windows
minrk edited this page Oct 30, 2014
·
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 8.1 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 SDK 7 (.NET 3.5sp1)
- first run installs .NET 3.5, requires reboot, then run again
- uncheck docs and samples
-
install SDK 7.1 (.NET 4)
- uncheck samples
-
symlinks for pattern in choco python:
cmd /c mklink /d C:\Python27_64 C:\tools\python2 cmd /c mklink /d C:\Python27 C:\tools\python2-x86_32 cmd /c mklink /d C:\Python34_64 C:\tools\python3 cmd /c mklink /d C:\Python34 C:\tools\python3-x86_32
-
install setuptools, pip on Python 2
(Invoke-WebRequest https://bootstrap.pypa.io/ez_setup.py).Content | C:\Python27\Python - (Invoke-WebRequest https://bootstrap.pypa.io/ez_setup.py).Content | C:\Python27_64\Python - C:\Python27\Python -m easy_install --upgrade pip C:\Python27_64\Python -m easy_install --upgrade pip
At this point, I can build a pyzmq bdist with:
# update everything
choco update
cmd /k tools/release_windows.bat [upload]