mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
Add Mac/Lib/lib-scriptpackages to sys.path too.
This commit is contained in:
parent
4092606d6b
commit
77afbc0b3b
1 changed files with 4 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue