New docs on the Windows builbbots

This commit is contained in:
Jorrit Wronski
2014-10-15 17:11:49 +02:00
parent 034004a2e7
commit 912edd9a98

View File

@@ -190,6 +190,50 @@ the buildslave. Such a script could look like this::
exit 0
Python Slaves
-------------
Based on the miniconda Python ecosystem, you can create your own virtual
environments for building the Python wheels. This requires the following
steps on a Windows machine::
conda create -n CoolProp27 python=2
conda create -n CoolProp34 python=3
conda install -n CoolProp27 cython pip pywin32
conda install -n CoolProp34 cython pip pywin32
activate CoolProp27
pip install wheel
deactivate
activate CoolProp34
pip install wheel
deactivate
Please repeat the steps above for both 32bit and 64bit Python environments. In
addition to the Python tools, you also need the Microsoft compilers. Please
install Visual Studio 2010 for Python 3.4 and Visual Studio 2008 for Python 2.7.
Buildbot as a service
---------------------
On Windows, you create a batch script that activates your virtual environment
and starts the buildslave::
@echo off
call "C:\Program Files (x86)\Miniconda32_27\Scripts\activate.bat" Buildbot
buildslave start "C:\CoolProp-slave"
This script can then be added to the system services via::
sc create <serviceName> binpath= <pathToBatFile> DisplayName= "CoolProp Buildbot" start= auto
You might want to run ``services.msc`` to edit the user that runs the service. If
you are tired of the error messages from the non-returning script, you could
also use a service wrapper like `NSSM <http://nssm.cc/>`_ to start the script.
Setting MIME type handler
=========================
@@ -211,6 +255,8 @@ To change the MIME types on the server so that unknown file types will map prope
and then do a ``buildbot restart master``
Documentation Builds
====================