Commit ef29cdec authored by Reinout van Rees's avatar Reinout van Rees
parent 9cf5ff4e
...@@ -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