[ python-Bugs-779151 ] bgenlocations.py only works for OS9 users
and jack ; )
SourceForge.net
noreply at sourceforge.net
Thu Jul 15 17:09:21 CEST 2004
Bugs item #779151, was opened at 2003-07-28 22:35
Message generated for change (Comment added) made by jackjansen
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=779151&group_id=5470
Category: Macintosh
Group: Python 2.3
>Status: Closed
>Resolution: Duplicate
Priority: 5
Submitted By: Bob Ippolito (etrepum)
Assigned to: Jack Jansen (jackjansen)
Summary: bgenlocations.py only works for OS9 users and jack ;)
Initial Comment:
--- I'm inlining snippets of code from plat-mac/
bgenlocations.py ---
if sys.platform == 'mac':
# For MacPython we know where it is
def _pardir(p): return os.path.split(p)[0]
BGENDIR=os.path.join(sys.prefix, "Tools", "bgen",
"bgen")
else:
# for unix-Python we don't know, please set it yourself.
BGENDIR="/Users/jack/src/python/Tools/bgen/bgen"
With unix python using Jack's 2.3rc2 installer, BGENDIR
should be /Applications/MacPython-2.3/Extras/Tools/bgen
#
# Where to put the python definitions files. Note that, on
unix-Python,
# if you want to commit your changes to the CVS repository
this should refer to
# your source directory, not your installed directory.
#
if sys.platform == 'mac':
TOOLBOXDIR=os.path.join(sys.prefix, "Lib", "plat-mac",
"Carbon")
else:
TOOLBOXDIR="/Users/jack/src/python/Lib/plat-mac/
Carbon"
TOOLBOXDIR should point somewhere reasonable. maybe
os.path.expanduser('~/src/python/')... You should be able to
override this without editing your python installation. For
example, it could print a warning instead of raising an
exception.. look somewhere in sys.path for an override file,
etc.
----------------------------------------------------------------------
>Comment By: Jack Jansen (jackjansen)
Date: 2004-07-15 17:09
Message:
Logged In: YES
user_id=45365
Sort-of a duplicate of #870997.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=779151&group_id=5470
More information about the Python-bugs-list
mailing list