mirror of
https://github.com/python/cpython.git
synced 2025-07-16 07:45:20 +00:00
Add a separate SRC directory and insert it in front of the path.
This commit is contained in:
parent
1dccdc221c
commit
193a11e389
1 changed files with 2 additions and 1 deletions
|
@ -3,9 +3,10 @@ import posix
|
|||
t1 = posix.times()
|
||||
try:
|
||||
FAQDIR = "/usr/people/guido/python/FAQ"
|
||||
SRCDIR = "/usr/people/guido/python/Tools/faqwiz"
|
||||
import os, sys, time, operator
|
||||
os.chdir(FAQDIR)
|
||||
sys.path.insert(0, FAQDIR)
|
||||
sys.path.insert(0, SRCDIR)
|
||||
import faqwiz
|
||||
except SystemExit, n:
|
||||
sys.exit(n)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue