mirror of
https://github.com/python/cpython.git
synced 2024-11-24 18:34:43 +08:00
Add Mac/Lib/lib-scriptpackages to sys.path too.
This commit is contained in:
parent
4092606d6b
commit
77afbc0b3b
@ -1,4 +1,6 @@
|
||||
import sys
|
||||
import os
|
||||
_maclib = os.path.join(sys.prefix, 'Mac/Lib')
|
||||
sys.path.append(_maclib)
|
||||
_maclib = os.path.join(sys.prefix, 'Mac', 'Lib')
|
||||
_scriptlib = os.path.join(_maclib, 'lib-scriptpackages')
|
||||
sys.path.append(_maclib)
|
||||
sys.path.append(_scriptlib)
|
||||
|
Loading…
Reference in New Issue
Block a user