This script is used to enable importing local Python modules from your project directory without having to install the project in development mode or modify PYTHONPATH
environment variable manually every time. The .pth
file, is a special file that Python looks for when determining import paths.
Note that you need to be in your local
module
dir, then run these commands.
CURRENT_FOLDER=$(pwd) && echo "$CURRENT_FOLDER"