You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[distutils] - error when processing the "--formats=tar" option #46193
Steps to reproduce the problem:
1: Run "python setup.py sdist --formats=gztar,tar".
2. dist directory now contains "module.gztar" and "module.tar" files
as expected.
3: Run "python setup.py sdist --formats=tar,gztar".
4. dist directory now contains only "module.gztar" file.
Reason:
Since for every argument specified in "--formats" option a new .tar file
is created every time by using the UNIX tar utility, the .tar file is
removed/overwritten when creating subsequent archives.
Activity
giampaolo commentedon Jan 21, 2008
Steps to reproduce the problem:
1: Run "python setup.py sdist --formats=gztar,tar".
2. dist directory now contains "module.gztar" and "module.tar" files
as expected.
3: Run "python setup.py sdist --formats=tar,gztar".
4. dist directory now contains only "module.gztar" file.
Reason:
Since for every argument specified in "--formats" option a new .tar file
is created every time by using the UNIX tar utility, the .tar file is
removed/overwritten when creating subsequent archives.
giampaolo commentedon Jan 21, 2008
I provided a patch here: http://bugs.python.org/issue1886
tiran commentedon Jan 22, 2008
No need to keep two buss open.
techtonik commentedon Dec 26, 2008
Please reopen this bug. issue#1886 is different it take a long time
until it is committed.
I attach patch from Giampaolo here.
tarekziade commentedon Jan 25, 2009
fixed in r68951 in trunk.
I will propagate the change into 2.6/3.0/3.1 tomorrow.
tarekziade commentedon Jan 26, 2009
done (in r68969 for py3k branch)