Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
b9baa94e
Commit
b9baa94e
authored
Aug 20, 2016
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Default to gztar for sdists on all platforms. Ref #748.
parent
06df852e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
CHANGES.rst
CHANGES.rst
+7
-0
setuptools/command/sdist.py
setuptools/command/sdist.py
+11
-0
No files found.
CHANGES.rst
View file @
b9baa94e
...
@@ -2,6 +2,13 @@
...
@@ -2,6 +2,13 @@
CHANGES
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
v25
.4.0
-------
-------
...
...
setuptools/command/sdist.py
View file @
b9baa94e
...
@@ -66,6 +66,17 @@ class sdist(orig.sdist):
...
@@ -66,6 +66,17 @@ class sdist(orig.sdist):
if
data
not
in
dist_files
:
if
data
not
in
dist_files
:
dist_files
.
append
(
data
)
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
):
def
make_distribution
(
self
):
"""
"""
Workaround for #516
Workaround for #516
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment