Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7be121f commit 1a170a7Copy full SHA for 1a170a7
1 file changed
Lib/venv/__init__.py
@@ -238,7 +238,8 @@ def setup_python(self, context):
238
if 'init.tcl' in files:
239
tcldir = os.path.basename(root)
240
tcldir = os.path.join(context.env_dir, 'Lib', tcldir)
241
- os.makedirs(tcldir)
+ if not os.path.exists(tcldir):
242
+ os.makedirs(tcldir)
243
src = os.path.join(root, 'init.tcl')
244
dst = os.path.join(tcldir, 'init.tcl')
245
shutil.copyfile(src, dst)
0 commit comments