Ticket #1033: path_reparator_change_for_windows.darcs.txt

File path_reparator_change_for_windows.darcs.txt, 1.1 KB (added by freestorm, at 2010-05-22T00:20:13Z)
Line 
1Sat May 22 01:38:16 Paris, Madrid (heure d'été) 2010  freestorm77@gmail.com
2  * path_reparator_change_for_windows.darcs.txt
3 
4  This patch replace path separator "/" => "\\" to be correctly used by setuptools on Windows.
5 
6
7New patches:
8
9[path_reparator_change_for_windows.darcs.txt
10freestorm77@gmail.com**20100521233816
11 Ignore-this: 8bc93119a1e15df8b0724077de5bfa6a
12 
13 This patch replace path separator "/" => "\\" to be correctly used by setuptools on Windows.
14 
15] hunk ./setuptools_darcs/setuptools_darcs.py 73
16         if fn.startswith(rel_to_repo_dirname):
17             fn = fn[len(rel_to_repo_dirname):]
18             warn = False
19-            yield fn
20+            # We need to replace "/" by "\\" because setuptools can't includes web/*.xhtml files on Windows, due of path separator
21+            # This correct ticket #1033
22+            yield fn.replace('/', os.sep)
23 
24     if warn and not os.path.exists('PKG-INFO'):
25         from distutils import log
26
27Context:
28
29[TAG setuptools_darcs-1.2.5
30zooko@zooko.com**20090204045709
31 Ignore-this: 4ad33f4337f93258d6200ed9e2779ab8
32]
33Patch bundle hash:
3499ff48fbee39663cc31b7f41be9c6475a88080a2