Commit 039ac65d authored by Reinout van Rees's avatar Reinout van Rees

Merge pull request #274 from buildout/reinout-winbot-oops

Fixed winbot test. Didn't think about -script and .exe
parents 9cf5ff4e ef29cdec
...@@ -1031,8 +1031,12 @@ scripts in the metadata. We try to detect such scripts anyhow: ...@@ -1031,8 +1031,12 @@ scripts in the metadata. We try to detect such scripts anyhow:
... ['foo2'], sys.executable, [dev_eggs_dir]) ... ['foo2'], sys.executable, [dev_eggs_dir])
>>> scripts = zc.buildout.easy_install.scripts( >>> scripts = zc.buildout.easy_install.scripts(
... ['foo2'], ws, sys.executable, dest=bin_dir) ... ['foo2'], ws, sys.executable, dest=bin_dir)
>>> scripts >>> if sys.platform == 'win32':
['/dev_distutils_dest/bin/distutilsscript2'] ... scripts == [os.path.join(dev_distutils_dest, 'bin', 'distutilsscript2.exe'),
... os.path.join(dev_distutils_dest, 'bin', 'distutilsscript2-script.py')]
... else:
... scripts == [os.path.join(dev_distutils_dest, 'bin', 'distutilsscript2')]
True
Handling custom build options for extensions provided in source distributions Handling custom build options for extensions provided in source distributions
......
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