Skip to content
This repository has been archived by the owner on Mar 27, 2022. It is now read-only.

Commit

Permalink
Make the lib imports work on other computers than Simon's
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Willison <simon@simonwillison.net>
  • Loading branch information
andrewgodwin authored and Simon Willison committed May 6, 2009
1 parent 2921b3c commit ceb75d6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions djangopeoplenet/manage.py
@@ -1,9 +1,10 @@
#!/usr/bin/env python
import sys

import sys, os
root = os.path.dirname(__file__)
paths = (
'/home/simon/sites/djangopeople.net',
'/home/simon/sites/djangopeople.net/djangopeoplenet',
'/home/simon/sites/djangopeople.net/djangopeoplenet/djangopeople/lib',
os.path.join(root),
os.path.join(root, "djangopeople", "lib"),
)
for path in paths:
if not path in sys.path:
Expand Down

0 comments on commit ceb75d6

Please sign in to comment.