python/dist/src/Lib/distutils/command sdist.py, 1.57, 1.58

Update of /cvsroot/python/python/dist/src/Lib/distutils/command In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9423/Lib/distutils/command Modified Files: sdist.py Log Message: SF patch 959726: sdist versus SVN The disutils sdist command now ignores .svn directories. Index: sdist.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/distutils/command/sdist.py,v retrieving revision 1.57 retrieving revision 1.58 diff -C2 -d -r1.57 -r1.58 *** sdist.py 25 Mar 2004 22:04:52 -0000 1.57 --- sdist.py 31 May 2004 19:27:59 -0000 1.58 *************** *** 348,352 **** * the release tree itself (only an issue if we ran "sdist" previously with --keep-temp, or it aborted) ! * any RCS or CVS directories """ build = self.get_finalized_command('build') --- 348,352 ---- * the release tree itself (only an issue if we ran "sdist" previously with --keep-temp, or it aborted) ! * any RCS, CVS and .svn directories """ build = self.get_finalized_command('build') *************** *** 355,359 **** self.filelist.exclude_pattern(None, prefix=build.build_base) self.filelist.exclude_pattern(None, prefix=base_dir) ! self.filelist.exclude_pattern(r'/(RCS|CVS)/.*', is_regex=1) --- 355,359 ---- 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)
participants (1)
-
tim_one@users.sourceforge.net