homepage

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

AltStyle によって変換されたページ (->オリジナル) /