New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
distutils error on windows #50303
Comments
I found two distutils error on windows.
E:\python-dev\trunk\Lib\distutils\tests>py test_archive_util.py Traceback (most recent call last):
File "test_archive_util.py", line 35, in test_make_tarball
make_tarball(base_name, '.')
File "e:\python-dev\trunk\lib\distutils\archive_util.py", line 47, in
make_tar
ball
spawn(cmd, dry_run=dry_run)
File "e:\python-dev\trunk\lib\distutils\spawn.py", line 37, in spawn
_spawn_nt(cmd, search_path, dry_run=dry_run)
File "e:\python-dev\trunk\lib\distutils\spawn.py", line 86, in _spawn_nt
"command '%s' failed with exit status %d" % (cmd[0], rc)
DistutilsExecError: command 'tar' failed with exit status 2 Ran 4 tests in 0.591s FAILED (errors=1) |
Here is workaround for second issue. If there is tar command for windows |
I am currently working on the removal of 'tar' in favor of the usage of |
(and also fix the test in 2.6 for this case) |
ok done, thanks for the patch; |
I don't think this is a bug in distutils, but rather in the tar command |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: