From 0440b032a677dda78204c99dba045e8ea6856df5 Mon Sep 17 00:00:00 2001 From: Devatanu Deka Date: Mon, 15 Aug 2016 14:28:31 +1000 Subject: [PATCH 1/2] Getting started update for windows Updating 'Get a copy of VOC' segment of Getting Started page for windows instructions. --- docs/intro/getting-started.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/intro/getting-started.rst b/docs/intro/getting-started.rst index 5c35e96d59..dc5705b6a8 100644 --- a/docs/intro/getting-started.rst +++ b/docs/intro/getting-started.rst @@ -50,6 +50,25 @@ Then create a virtual environment and install VOC into it: $ cd voc $ pip install -e . +For Windows the use of PowerShell under Administrator permission is suggested. + +.. code-block:: bash + + PS C:\your_dir> virtualenv -p "C:\Python35\python.exe" env + PS C:\your_dir> . .\env\Scripts\activate.ps1 + PS C:\your_dir> cd voc + PS C:\your_dir> pip install -e . + +If the second step produces a `PSExecutionException : UnauthorizedAccess`, the permissions can be set by: + +.. code-block:: bash + + PS C:\your_dir> Set-ExecuionPolicy + ExecutionPolicy: remoteSigned + +repeat step 2 onwards. + + Building the support JAR file ----------------------------- From f32a41188dac0e39d4c6489eea13c929eab8ac09 Mon Sep 17 00:00:00 2001 From: devadeka Date: Mon, 15 Aug 2016 15:32:22 +1000 Subject: [PATCH 2/2] Description to use cmd instead of PowerShell The instructions for installing via PowerShell is still valid, however using standard Windows cmd makes running python-java-support.jar easier. --- docs/intro/getting-started.rst | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/docs/intro/getting-started.rst b/docs/intro/getting-started.rst index dc5705b6a8..d56ca7d490 100644 --- a/docs/intro/getting-started.rst +++ b/docs/intro/getting-started.rst @@ -50,23 +50,15 @@ Then create a virtual environment and install VOC into it: $ cd voc $ pip install -e . -For Windows the use of PowerShell under Administrator permission is suggested. +For Windows the use of cmd under Administrator permission is suggested instead of PowerShell. .. code-block:: bash - PS C:\your_dir> virtualenv -p "C:\Python35\python.exe" env - PS C:\your_dir> . .\env\Scripts\activate.ps1 - PS C:\your_dir> cd voc - PS C:\your_dir> pip install -e . + > virtualenv -p "C:\Python35\python.exe" env + > env\Scripts\activate.bat + > cd voc + > pip install -e . -If the second step produces a `PSExecutionException : UnauthorizedAccess`, the permissions can be set by: - -.. code-block:: bash - - PS C:\your_dir> Set-ExecuionPolicy - ExecutionPolicy: remoteSigned - -repeat step 2 onwards. Building the support JAR file