Message31825
+ Bug is specific to Windows platform
+ When creating a source distribution with :
**setup.py sdist**
+ the files in CVS/RCS/.svn folders should be excluded, as specified by paragraph 4.1 of distutils documentation
+ on windows, they are not excluded, because :
+ the pattern is r'/(RCS|CVS|\.svn)/.*'
+ the filepathes are in the perverse Windows style (separated by backslashes)
+ I could exclude those files by doing either :
+ add a <<global-exclude .svn/*>> in manifest.in
+ modify line 357 of distutils/command/sdist.py
+ initial line
self.filelist.exclude_pattern(r'/(RCS|CVS|\.svn)/.*', is_regex=1)
+ modified lines
reossep = (os.sep == '/' and '/' or r'\\')
self.filelist.exclude_pattern(r'%s(RCS|CVS|\.svn)%s.*' % (reossep, reossep), is_regex=1)
|
|
Date |
User |
Action |
Args |
2007-08-23 14:53:11 | admin | link | issue1702551 messages |
2007-08-23 14:53:11 | admin | create | |
|