forked from usnistgov/OOF2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pypath.py
25 lines (22 loc) · 842 Bytes
/
pypath.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# -*- python -*-
# This software was produced by NIST, an agency of the U.S. government,
# and by statute is not subject to copyright in the United States.
# Recipients of this software assume all responsibilities associated
# with its operation, modification and maintenance. However, to
# facilitate maintenance we ask that before distributing modified
# versions of this software, you first contact the authors at
# This file just prints the Python path, as modified by gtk. It's the
# same thing that's done in oof.py. See the comments there. The code
# is extracted here so that it can be used for setting up cx_freeze.
import sys, string
try:
import pygtk
except ImportError:
pass
else:
try:
pygtk.require("1.2")
except AssertionError:
pass
print string.join(sys.path, ":")