This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author guy-dalberto
Recipients
Date 2007-04-17.23:29:54
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
+ 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)
History
Date User Action Args
2007-08-23 14:53:11adminlinkissue1702551 messages
2007-08-23 14:53:11admincreate