mirror of
https://github.com/python/cpython.git
synced 2026-02-28 10:00:52 +00:00
Closes #21663: Merged fix from 3.4.
This commit is contained in:
commit
ae0767bb5b
1 changed files with 2 additions and 1 deletions
|
|
@ -238,7 +238,8 @@ def setup_python(self, context):
|
|||
if 'init.tcl' in files:
|
||||
tcldir = os.path.basename(root)
|
||||
tcldir = os.path.join(context.env_dir, 'Lib', tcldir)
|
||||
os.makedirs(tcldir)
|
||||
if not os.path.exists(tcldir):
|
||||
os.makedirs(tcldir)
|
||||
src = os.path.join(root, 'init.tcl')
|
||||
dst = os.path.join(tcldir, 'init.tcl')
|
||||
shutil.copyfile(src, dst)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue