could be replaced with 

```python
PATH_TO_INSTALL_REQUIREMENTS = os.path.join(root, DIR_LIB)
```

but you will have to move this block under the other one