Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/abailoni/pathutils
- Owner: abailoni
- License: mit
- Created: 2020-11-17T11:11:59.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-26T13:14:32.000Z (over 3 years ago)
- Last Synced: 2024-11-05T11:55:24.589Z (2 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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