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
2b6a00de
Commit
2b6a00de
authored
Sep 09, 2013
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove excess whitespace. Delint one if statement.
parent
61aacdd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
31 deletions
+6
-31
setuptools/command/sdist.py
setuptools/command/sdist.py
+6
-31
No files found.
setuptools/command/sdist.py
View file @
2b6a00de
...
...
@@ -37,14 +37,6 @@ def joinpath(prefix,suffix):
return
suffix
return
os
.
path
.
join
(
prefix
,
suffix
)
def
walk_revctrl
(
dirname
=
''
):
"""Find all files under revision control"""
for
ep
in
pkg_resources
.
iter_entry_points
(
'setuptools.file_finders'
):
...
...
@@ -118,16 +110,6 @@ finders = [
]
class sdist(_sdist):
"""Smart sdist that finds anything supported by revision control"""
...
...
@@ -182,11 +164,12 @@ class sdist(_sdist):
# Beginning with Python 2.7.2, 3.1.4, and 3.2.1, this leaky file handle
# has been fixed, so only override the method if we're using an earlier
# Python.
if (
sys.version_info < (2,7,2)
or (3,0) <= sys.version_info < (3,1,4)
or (3,2) <= sys.version_info < (3,2,1)
):
has_leaky_handle = (
sys.version_info < (2,7,2)
or (3,0) <= sys.version_info < (3,1,4)
or (3,2) <= sys.version_info < (3,2,1)
)
if has_leaky_handle:
read_template = __read_template_hack
def add_defaults(self):
...
...
@@ -251,7 +234,6 @@ class sdist(_sdist):
"
standard
file
not
found
:
should
have
one
of
" +', '.join(READMES)
)
def make_release_tree(self, base_dir, files):
_sdist.make_release_tree(self, base_dir, files)
...
...
@@ -298,10 +280,3 @@ class sdist(_sdist):
continue
self.filelist.append(line)
manifest.close()
#
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