This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: bgenlocations.py only works for OS9 users and jack ;)
Type: Stage:
Components: macOS Versions: Python 2.3
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: jackjansen Nosy List: bob.ippolito, jackjansen
Priority: normal Keywords:

Created on 2003-07-28 20:35 by bob.ippolito, last changed 2022-04-10 16:10 by admin. This issue is now closed.

Messages (2)
msg17408 - (view) Author: Bob Ippolito (bob.ippolito) * (Python committer) Date: 2003-07-28 20:35
--- 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.
msg17409 - (view) Author: Jack Jansen (jackjansen) * (Python committer) Date: 2004-07-15 15:09
Logged In: YES 
user_id=45365

Sort-of a duplicate of #870997.
History
Date User Action Args
2022-04-10 16:10:16adminsetgithub: 38950
2003-07-28 20:35:12bob.ippolitocreate