From 656005190500126ccc683ac68164b7737684e001 Mon Sep 17 00:00:00 2001 From: Hfusi0n Date: Wed, 5 Jun 2019 15:38:56 +0300 Subject: [PATCH] Added docs for building protobuf on windows Added docs for building protobuf on windows. The following documentation should work as a workaround to windows pip installation error. --- CONTRIBUTING.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f7217c5a0..e9a0458a6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -202,6 +202,26 @@ Neither virtualenv nor OpenHTF's Python dependencies are included in the repository. The following steps set up a new virtualenv environment and install OpenHTF's dependencies into it using pip. +### Windows +``` +Install pkg-config lite from: +https://sourceforge.net/projects/pkgconfiglite/ + +Add pkg-config to windows path + +Install protobuf with pip/conda + +https://anaconda.org/anaconda/protobuf +conda install -c anaconda protobuf + +Create an environment variable PKG_CONFIG_PATH +Set PKG_CONFIG_PATH to direct to protobuf.pc directory + +Locate the protobuf.pc file under your package manager pkgs directory. +You should now be able to install openhtf with pip install openhtf + +``` + ### Linux (Debian/Ubuntu) These install instructions assume Bash as the shell environment. If you're using