Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Jérome Perrin
setuptools
Commits
7eaf2c97
Commit
7eaf2c97
authored
17 years ago
by
Georg Brandl
Browse files
Options
Download
Email Patches
Plain Diff
#1725737: ignore other VC directories other than CVS and SVN's too.
parent
c3981d56
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
command/sdist.py
command/sdist.py
+2
-2
No files found.
command/sdist.py
View file @
7eaf2c97
...
...
@@ -347,14 +347,14 @@ class sdist (Command):
* the build tree (typically "build")
* the release tree itself (only an issue if we ran "sdist"
previously with --keep-temp, or it aborted)
* any RCS, CVS
and
.svn directories
* any RCS, CVS
,
.svn
, .hg, .git, .bzr, _darcs
directories
"""
build
=
self
.
get_finalized_command
(
'build'
)
base_dir
=
self
.
distribution
.
get_fullname
()
self
.
filelist
.
exclude_pattern
(
None
,
prefix
=
build
.
build_base
)
self
.
filelist
.
exclude_pattern
(
None
,
prefix
=
base_dir
)
self
.
filelist
.
exclude_pattern
(
r
'
/
(RCS|CVS|\.svn)/.*'
,
is_regex
=
1
)
self
.
filelist
.
exclude_pattern
(
r
'
(^|/)
(RCS|CVS|\.svn
|\.hg|\.git|\.bzr|_darcs
)/.*'
,
is_regex
=
1
)
def
write_manifest
(
self
):
...
...
This diff is collapsed.
Click to expand it.
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