zc.buildout doesn't create scripts from the 'scripts' setup.py option (like used by pyflakes and docutils)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Buildout |
In Progress
|
Undecided
|
Reinout van Rees |
Bug Description
Scripts is used by for instance pyflakes and docutils. Here's pyflakes' setup.py:
setup(
name=
license="MIT",
version=
description
author="Phil Frost",
maintainer="Moe Aboulkheir",
<email address hidden>",
url="http://
packages=
scripts=
long_
works by parsing the source file, not importing it, so it is safe to use on
modules with side effects. It's also much faster.""")
It is a different way than console_scripts, but with a similar goal. If you add pyflakes or docutils to a zc.recipe.buildout part's eggs list, nothing happens (which is a pain).
So 'scripts' needs to be supported in addition to the console_scripts entry point.
I've got a working solution in zc.buildout/ branches/ reinout- scripts which needs testing on windows. The buildout of the branch itself proves that it works by installing bin/pyflakes and bin/rst2* from docutils.