| 1 |
# Installation instructions |
| 2 |
|
| 3 |
## pip |
| 4 |
|
| 5 |
**Note that using pip outside virtualenv is not recommended since it ignores |
| 6 |
your systems package manager. If you aren't comfortable debugging package |
| 7 |
installation issues use virtualenv.** |
| 8 |
|
| 9 |
Create and activate a virtualenv: |
| 10 |
|
| 11 |
```bash |
| 12 |
virtualenv dfdatetime_venv |
| 13 |
cd dfdatetime_venv |
| 14 |
source ./bin/activate |
| 15 |
``` |
| 16 |
|
| 17 |
Upgrade pip and install dfDateTime: |
| 18 |
|
| 19 |
```bash |
| 20 |
pip install --upgrade pip |
| 21 |
pip install dfdatetime |
| 22 |
``` |
| 23 |
|
| 24 |
To deactivate the virtualenv run: |
| 25 |
|
| 26 |
```bash |
| 27 |
deactivate |
| 28 |
``` |