diff options
author | PJ Eby <distutils-sig@python.org> | 2005-11-18 13:15:33 +0000 |
---|---|---|
committer | PJ Eby <distutils-sig@python.org> | 2005-11-18 13:15:33 +0000 |
commit | 94c96c8c6583470e19fd2202ab2d70cc47f7a24c (patch) | |
tree | 3a3a0afc07a0c66282fecb78dbedd9231d28dc1e /setuptools/command/egg_info.py | |
parent | fdf5cd175d701b095bff23faedc5f6c1d4c131d8 (diff) | |
download | external_python_setuptools-94c96c8c6583470e19fd2202ab2d70cc47f7a24c.tar.gz external_python_setuptools-94c96c8c6583470e19fd2202ab2d70cc47f7a24c.tar.bz2 external_python_setuptools-94c96c8c6583470e19fd2202ab2d70cc47f7a24c.zip |
Fix .svn exclude pattern for non-Windows platforms.
--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041475
Diffstat (limited to 'setuptools/command/egg_info.py')
-rwxr-xr-x | setuptools/command/egg_info.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py index a245002e..2879d5da 100755 --- a/setuptools/command/egg_info.py +++ b/setuptools/command/egg_info.py @@ -261,7 +261,8 @@ class manifest_maker(sdist): 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(os.sep+'\(RCS|CVS|\.svn)', is_regex=1) + sep = re.escape(os.sep) + self.filelist.exclude_pattern(sep+r'(RCS|CVS|\.svn)'+sep, is_regex=1) |