1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-12-03 16:44:17 +01:00

setup: use entry point instead of scripts

This commit is contained in:
Johan Andersson 2024-07-28 15:44:58 +02:00
parent 18b5b4f569
commit be2e1bcb31

View File

@ -46,7 +46,11 @@ setup(
packages=find_packages("lib", exclude=["tests", "*.tests", "*.tests.*"]),
install_requires=deps,
package_dir={"": "lib"},
scripts=["bin/svtplay-dl"],
entry_points={
"console_scripts": [
"svtplat-dl = svtplay_dl:main",
],
},
author="Johan Andersson",
author_email="j@i19.se",
description="Command-line program to download videos from various video on demand sites",