... | @@ -7,7 +7,7 @@ Go to or create a project directory you want to host the virtual environment in. |
... | @@ -7,7 +7,7 @@ Go to or create a project directory you want to host the virtual environment in. |
|
|
|
|
|
Unix/macOS
|
|
Unix/macOS
|
|
```
|
|
```
|
|
source -m venv <name of environment>
|
|
python3 -m venv <name of environment>
|
|
```
|
|
```
|
|
Windows
|
|
Windows
|
|
```
|
|
```
|
... | @@ -16,7 +16,7 @@ py -m venv <name of environment> |
... | @@ -16,7 +16,7 @@ py -m venv <name of environment> |
|
The name of the environment can be used to identify the virtual environment directory more easily. As we have created a project folder for this however for this example
|
|
The name of the environment can be used to identify the virtual environment directory more easily. As we have created a project folder for this however for this example
|
|
we will use the standard naming convention of naming it ".venv"
|
|
we will use the standard naming convention of naming it ".venv"
|
|
```
|
|
```
|
|
source -m venv .venv
|
|
python3 -m venv .venv
|
|
```
|
|
```
|
|
|
|
|
|
Next to activate the virtual environment.
|
|
Next to activate the virtual environment.
|
... | @@ -52,11 +52,9 @@ py -m pip --version |
... | @@ -52,11 +52,9 @@ py -m pip --version |
|
```
|
|
```
|
|
|
|
|
|
### Installing the Openstack-client
|
|
### Installing the Openstack-client
|
|
Most of the steps detailed in this section come from OpenStack's official documentation found at https://docs.openstack.org/newton/user-guide/common/cli-install-openstack-command-line-clients.html
|
|
All the packages required are downloaded from the requirements file contained in this repository, this includes the python-openstackclient. To install all these packages use the following command.
|
|
|
|
|
|
From this point on all installs will be done with pip so there should be no difference between operating systems. To install the openstackclient use the following command.
|
|
|
|
```
|
|
```
|
|
pip install python-openstackclient
|
|
pip install -r requirements.txt
|
|
```
|
|
```
|
|
Then check if it is installed using.
|
|
Then check if it is installed using.
|
|
```
|
|
```
|
... | | ... | |