File tree 2 files changed +56
-14
lines changed
2 files changed +56
-14
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,31 @@ include::{root-path}_config.adoc[]
4
4
endif::[]
5
5
= Installing OSI for Python on Linux
6
6
7
+ == Installing from PyPI
8
+
9
+ Steps::
10
+
11
+ . Open a terminal.
12
+ +
13
+ . Optionally create and activate a new virtual environment.
14
+ +
15
+ ----
16
+ python3 -m venv venv
17
+ source venv/bin/activate
18
+ ----
19
+ +
20
+ . Install Open Simulation Interface.
21
+ +
22
+ ----
23
+ pip install open-simulation-interface
24
+ ----
25
+
26
+ == Installing from source
27
+
7
28
*Prerequisites::
8
29
9
30
* You have installed everything described in <<top-installing-osi-prerequisits>>.
10
- * You have installed _pip3_.
11
- * You have installed _python-setuptools_.
12
- * For a local installation, you have installed _virtualenv_.
31
+ * You have installed _pip_.
13
32
14
33
Steps::
15
34
@@ -26,27 +45,22 @@ git clone https://github.com/OpenSimulationInterface/open-simulation-interface.g
26
45
cd open-simulation-interface
27
46
----
28
47
+
29
- . Create a new virtual environment.
30
- +
31
- ----
32
- virtualenv -p python3 venv
33
- ----
34
- +
35
- . Activate the virtual environment.
48
+ . Optionally create and activate a new virtual environment.
36
49
+
37
50
----
51
+ python3 -m venv venv
38
52
source venv/bin/activate
39
53
----
40
54
+
41
55
. Install Open Simulation Interface.
42
56
.. Local installation
43
57
+
44
58
----
45
- python3 -m pip install .
59
+ pip install .
46
60
----
47
61
+
48
62
.. Global installation
49
63
+
50
64
----
51
- sudo pip3 install .
65
+ sudo pip install .
52
66
----
Original file line number Diff line number Diff line change @@ -4,6 +4,27 @@ include::{root-path}_config.adoc[]
4
4
endif::[]
5
5
= Installing OSI for Python on Windows
6
6
7
+ == Installing from PyPI
8
+
9
+ Steps::
10
+
11
+ . Open a terminal.
12
+ +
13
+ . Optionally create and activate a new virtual environment.
14
+ +
15
+ ----
16
+ python -m venv venv
17
+ venv\Scripts\activate
18
+ ----
19
+ +
20
+ . Install Open Simulation Interface.
21
+ +
22
+ ----
23
+ pip install open-simulation-interface
24
+ ----
25
+
26
+ == Installing from source
27
+
7
28
Prerequisites::
8
29
9
30
* You have installed everything described in <<top-installing-osi-prerequisits>>.
@@ -25,8 +46,15 @@ git clone https://github.com/OpenSimulationInterface/open-simulation-interface.g
25
46
cd open-simulation-interface
26
47
----
27
48
+
28
- . Run the setup script.
49
+ . Optionally create and activate a new virtual environment.
50
+ +
51
+ ----
52
+ python -m venv venv
53
+ venv\Scripts\activate
54
+ ----
55
+ +
56
+ . Install Open Simulation Interface.
29
57
+
30
58
----
31
- python setup.py install
59
+ pip install .
32
60
----
You can’t perform that action at this time.
0 commit comments