Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/abailoni/pathutils

Bunch of few path utils
https://github.com/abailoni/pathutils

Last synced: 24 days ago
JSON representation

Bunch of few path utils

Awesome Lists containing this project

README

        

# pathutils
Bunch of few path utils:
- Get home and data directories for the current machine/user;
- Automatically add your source directories to the python path

### Creating a .pth config file
- First, make sure to update the `pathutils/get_dir_paths.py` file with your paths and source dirs
- Run the `create_pth_file.py` script on the machine you want to use
- Copy the config.pth file inside the `site-package` folder of your environment (that could look something like `~/anaconda3/envs/ENV_NAME/lib/python3.7/site-packages/`) and you are good to go. All your packages (including this one) will be available