Uses setuptools' entry_point to create a radicale executable (by @funkyfuture)

This commit is contained in:
Unrud 2018-04-20 14:57:09 +02:00 committed by Unrud
parent dca25b9e90
commit 0ea72368b0
2 changed files with 1 additions and 33 deletions

View file

@ -68,8 +68,7 @@ setup(
platforms="Any",
packages=["radicale"],
package_data={"radicale": WEB_FILES},
provides=["radicale"],
scripts=["bin/radicale"],
entry_points={'console_scripts': ['radicale = radicale.__main__:run']},
install_requires=["vobject"],
setup_requires=pytest_runner,
tests_require=[