Commit 1c711155 authored by Reinout van Rees's avatar Reinout van Rees

Added test for the fix I did for #53.

parent 1443564f
...@@ -912,6 +912,18 @@ Buildout also installs those: ...@@ -912,6 +912,18 @@ Buildout also installs those:
>>> ls(distbin) >>> ls(distbin)
- distutilsscript - distutilsscript
Like for console_scripts, the output is a list of the scripts
generated. Likewise, on windows two files, an ``.exe`` and a script with
``-script.py`` appended, are generated:
>>> import os, sys
>>> if sys.platform == 'win32':
... scripts == [os.path.join(distbin, 'distutilsscript.exe'),
... os.path.join(distbin, 'distutilsscript-script.py')]
... else:
... scripts == [os.path.join(distbin, 'distutilsscript')]
True
It also works for zipped eggs: It also works for zipped eggs:
>>> distdir2 = tmpdir('distutilsscriptdir2') >>> distdir2 = tmpdir('distutilsscriptdir2')
......
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