我在构建项目中有setup.py :
from distutils.core import setup
setup(name='',
version='1.0',
author='Denis Kolodin',
author_email='...',
url='...',
scripts = ['scripts/myscript.py'], # The script I want to add to 'bin/' dir
)
为什么 buildout 不将该脚本添加到“bin/”?我可以用 buildout 开发脚本(不是鸡蛋)吗?
我的buildout.cfg:
[buildout]
develop = .
parts = python scripts
[python]
recipe = zc.recipe.egg
interpreter = python
eggs = marketwizard > 0.2.0
jinja2
[scripts]
recipe = z3c.recipe.scripts