When I install a python module using pip -t . pip downloads the module into a specific folder in the current directory. Python then searches the current directory for the module when it is imported and all is well.
What is the best practise for whether to add the module folders into GIT?
It seems to me that checking in these folders is not a good idea, instead the build process should download them from the requirements file rather than get them from SCM.
However adding each folder into .gitignore seems overly burdensome. 
I was expecting the python modules to go into some special directory such as python_modules which I could then add to .gitignore however this does not appear to be the case. Or is there some kind of hook that I can use to get pip to update the .gitignore file automatically when installing new modules?
So what do people do to manage these files? My googling has so far not revealed much and I am not at a loss as to what to do?
One option would be to create a directory called python_modules, and then when you install a new module, install it with pip install -t python_modules .... This way you can add python_modules to your .gitignore.
That being said, what's your rationale behind installing them inside your project rather than letting the build process install them in the usual location on your system?
How to handle python modules in GIT