Skip to content

Commit

Permalink
Docs: Few notes for running Python script on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslo committed Oct 29, 2017
1 parent cea7448 commit 9e06899
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions docs/creating-new/create/cmake.rst
Original file line number Diff line number Diff line change
Expand Up @@ -437,10 +437,39 @@ Go back to Hunter repository and run test:
.. code-block:: none
> cd hunter
[hunter]> which polly.py
/.../bin/polly.py
[hunter]> polly.py --help
Python version: 3.5
usage: polly.py [-h]
...
[hunter]> TOOLCHAIN=gcc PROJECT_DIR=examples/hunter_box_1 ./jenkins.py
On Windows:

.. code-block:: none
> cd hunter
[hunter]> where polly.py
C:\...\bin\polly.py
[hunter]> polly.py --help
Python version: 3.5
usage: polly.py [-h]
...
[hunter]> set TOOLCHAIN=vs-12-2013
[hunter]> set PROJECT_DIR=examples\hunter_box_1
[hunter]> .\jenkins.py
.. admonition:: Stackoverflow

* `How to execute Python scripts in Windows? <https://stackoverflow.com/a/1936078/2288008>`__

.. _ci testing:

CI testing
Expand Down

0 comments on commit 9e06899

Please sign in to comment.