Commit 0123841a authored by jim's avatar jim

Source distros on Windows are zip files, not tar balls

git-svn-id: http://svn.zope.org/repos/main/zc.buildout/trunk@70190 62d5b8a3-27da-0310-9561-8e5933582275
parent 9fa46f3e
...@@ -544,7 +544,7 @@ def test_suite(): ...@@ -544,7 +544,7 @@ def test_suite():
'\\1V.V.egg'), '\\1V.V.egg'),
(re.compile('(\n?)- ([a-zA-Z_.-]+)-script.py\n- \\2.exe\n'), (re.compile('(\n?)- ([a-zA-Z_.-]+)-script.py\n- \\2.exe\n'),
'\\1- \\2\n'), '\\1- \\2\n'),
(re.compile('extdemo-1[.]4[.]tar[.]gz'), 'extdemo-1.4.zip'), (re.compile('(\w+-\d[.]\d[.])zip'), '\\1tar.gz'),
(re.compile('#!\S+python\S+'), '#!python'), (re.compile('#!\S+python\S+'), '#!python'),
]), ]),
), ),
......
...@@ -74,6 +74,7 @@ def test_suite(): ...@@ -74,6 +74,7 @@ def test_suite():
(re.compile('(\n?)- ([a-zA-Z_.-]+)-script.py\n- \\2.exe\n'), (re.compile('(\n?)- ([a-zA-Z_.-]+)-script.py\n- \\2.exe\n'),
'\\1- \\2\n'), '\\1- \\2\n'),
(re.compile('#![^\n]+python[^\n]*\n'), '#!python\n'), (re.compile('#![^\n]+python[^\n]*\n'), '#!python\n'),
(re.compile('(\w+-\d[.]\d[.])zip'), '\\1tar.gz'),
]) ])
), ),
doctest.DocFileSuite( doctest.DocFileSuite(
...@@ -115,6 +116,7 @@ def test_suite(): ...@@ -115,6 +116,7 @@ def test_suite():
'\\1.egg'), '\\1.egg'),
(re.compile(r'\\\\'), '/'), (re.compile(r'\\\\'), '/'),
(re.compile(r'/\\'), '/'), (re.compile(r'/\\'), '/'),
(re.compile('(\w+-\d[.]\d[.])zip'), '\\1tar.gz'),
]), ]),
), ),
doctest.DocFileSuite( doctest.DocFileSuite(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment