Commit b9baa94e authored by Jason R. Coombs's avatar Jason R. Coombs

Default to gztar for sdists on all platforms. Ref #748.

parent 06df852e
......@@ -2,6 +2,13 @@
CHANGES
=======
v26.0.0
-------
* #748: By default, sdists are now produced in gzipped tarfile
format by default on all platforms, adding forward compatibility
for the same behavior in Python 3.6 (See Python #27819).
v25.4.0
-------
......
......@@ -66,6 +66,17 @@ class sdist(orig.sdist):
if data not in dist_files:
dist_files.append(data)
def initialize_options(self):
orig.sdist.initialize_options(self)
self._default_to_gztar()
def _default_to_gztar(self):
# only needed on Python prior to 3.6.
if sys.version_info >= (3, 6, 0, 'beta', 1):
return
self.formats = ['gztar']
def make_distribution(self):
"""
Workaround for #516
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment