我曾经用setuptools.setup
. 但现在我想使用distutils.core.setup
.
setuptools
我使用了与此类似的代码:
setup(
name = "radish",
version = "0.01.00",
description = "Behaviour-Driven-Development tool for python",
author = "Timo Furrer",
author_email = "tuxtimo@gmail.com",
url = "http://github.com/timofurrer/radish",
packages = [ "radish", "radish/Writers" ],
entry_points = { "console_scripts": [ "radish = radish.main:main", ] },
package_data = { "radish": [ "*.md" ] }
...
)
我想对distutils
- 但没有entry_points
可用的做同样的事情。我该如何管理?如何指定我的新命令?