0

I want to be able to add the top level of the git repo to the PYTHONPATH immediately when it is cloned. Is there a way to do this? I have the following script in the top level of the repo:

#!/bin/bash
topDir=`pwd`
export PYTHONPATH=$topDir

And I need to run source configure at the top level. Is there a way to get this functionality immediately when the repo is cloned, rather than having to run source configure every time I clone or log in?

Thanks.

krisharmas
  • 211
  • 2
  • 5
  • 12

0 Answers0