... | ... | @@ -8,19 +8,25 @@ purpose (it is included in the standard Python library since version |
|
|
|
|
|
1. Install the latest stable Python 3 version, if it is not already on your system.
|
|
|
|
|
|
```
|
|
|
$ sudo apt-get install python3
|
|
|
$ sudo apt-get install python3-pip
|
|
|
|
|
|
```
|
|
|
|
|
|
1. Clone the Yangson project in a directory of your choice:
|
|
|
```
|
|
|
$ git clone git@gitlab.labs.nic.cz:jetconf/jetconf-resolver.git
|
|
|
$ git clone git@gitlab.labs.nic.cz:labs/resolvers-yang.git
|
|
|
```
|
|
|
|
|
|
1. Create the virtual environment:
|
|
|
```
|
|
|
$ python3 -m venv jetconf-resolver
|
|
|
$ python3 -m venv resolvers-yang
|
|
|
```
|
|
|
|
|
|
1. Activate the virtual environment:
|
|
|
```
|
|
|
$ cd jetconf-resolver
|
|
|
$ cd resolvers-yang
|
|
|
$ source bin/activate
|
|
|
```
|
|
|
|
... | ... | @@ -32,7 +38,7 @@ purpose (it is included in the standard Python library since version |
|
|
|
|
|
When inside the virtual environment, the shell prompt should change to something like
|
|
|
```
|
|
|
(jetconf-resolver) $
|
|
|
(resolvers-yang) $
|
|
|
```
|
|
|
|
|
|
To leave the virtual environment, just do
|
... | ... | |