Skip to content

Commit 48154d4

Browse files
committed
python installation instructions
1 parent 3a67cdd commit 48154d4

File tree

4 files changed

+35
-52
lines changed

4 files changed

+35
-52
lines changed

csharp/README.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

python/README.md

Lines changed: 0 additions & 42 deletions
This file was deleted.

sphinx/source/bots/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Specifically, bots cannot cheat - no more than a regular player could.
88

99
.. toctree::
1010
setup
11+
setupPython
1112
programOverview
1213
programSafety
1314
performance

sphinx/source/bots/setupPython.rst

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
Setup Python
2+
============
3+
Instructions to install Python:
4+
5+
.. tab-set::
6+
:sync-group: platform
7+
8+
.. tab-item:: Windows
9+
:sync: windows
10+
11+
Install latest stable version of python from: https://www.python.org/downloads/windows/.
12+
Make sure to add it to system path.
13+
14+
.. code-block:: bash
15+
16+
# update pip
17+
python -m pip install --upgrade pip
18+
19+
.. tab-item:: Linux
20+
:sync: linux
21+
22+
.. code-block:: bash
23+
24+
# install python
25+
sudo apt update
26+
sudo apt install python3-dev python3-pip
27+
28+
Also install dependencies:
29+
30+
.. code-block:: bash
31+
32+
# install cffi
33+
pip install cffi
34+

0 commit comments

Comments
 (0)