Skip to content

Instantly share code, notes, and snippets.

@felipe-prenholato
Created March 6, 2012 19:27
Show Gist options
  • Save felipe-prenholato/1988471 to your computer and use it in GitHub Desktop.
Save felipe-prenholato/1988471 to your computer and use it in GitHub Desktop.
felipe@felipe-G51JX:~/projects/p1/portal$ . ~/projects/p1/bin/activate
felipe@felipe-G51JX:~/projects/p1/portal$ pwd
/home/felipe/projects/p1/portal
felipe@felipe-G51JX:~/projects/p1/portal$ pwd > ../lib/python2.7/site-packages/portal.pth
felipe@felipe-G51JX:~/projects/p1/portal$ cat ../lib/python2.7/site-packages/portal.pth
/home/felipe/projects/p1/portal
felipe@felipe-G51JX:~/projects/p1/portal$ ln -sv . portal
`portal' -> `.'
(p1)felipe@felipe-G51JX:~/projects/p1/portal$ ./manage.py shell
In [1]: import portal
In [2]: portal.__file__
Out[2]: '/home/felipe/projects/p1/portal/portal/__init__.pyc'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment