Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: /
Date: Fri, 10 Sep 2021 06:42:25
Message-Id: 1631256080.1523ddc01c6a408ed4bfea6af2f3e6a7a29c2d4e.mgorny@gentoo
1 commit: 1523ddc01c6a408ed4bfea6af2f3e6a7a29c2d4e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 10 06:41:20 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 10 06:41:20 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=1523ddc0
7
8 setup.py: Restore .tar.gz sdist default
9
10 Revert the default format for sdist archives to .tar.gz, as pypi does
11 not allow .tar.xz uploads.
12
13 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
14
15 setup.py | 4 ----
16 1 file changed, 4 deletions(-)
17
18 diff --git a/setup.py b/setup.py
19 index 054f71b12..24ddd6012 100755
20 --- a/setup.py
21 +++ b/setup.py
22 @@ -610,10 +610,6 @@ class x_install_scripts(install_scripts):
23 class x_sdist(sdist):
24 """ sdist defaulting to .tar.bz2 format, and archive files owned by root """
25
26 - def initialize_options(self):
27 - super().initialize_options()
28 - self.formats = ['xztar']
29 -
30 def finalize_options(self):
31 if self.owner is None:
32 self.owner = 'root'