mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
Use new file dialogs.
This commit is contained in:
parent
d9db3a6713
commit
b340acf9fd
16 changed files with 72 additions and 78 deletions
|
@ -410,10 +410,9 @@ def incbuildno(filename):
|
|||
|
||||
def main():
|
||||
macresource.need('DLOG', DIALOG_ID, 'fullbuild.rsrc')
|
||||
dir, ok = macfs.GetDirectory('Python source folder:')
|
||||
if not ok:
|
||||
dir = EasyDialogs.AskFolder(message='Python source folder:')
|
||||
if not dir:
|
||||
sys.exit(0)
|
||||
dir = dir.as_pathname()
|
||||
# Set genpluginprojects to use this folder (slight hack)
|
||||
genpluginprojects.PYTHONDIR = dir
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue