From 820929208d3bf31d4ec6ece231f988636da6aded Mon Sep 17 00:00:00 2001 From: Fritz Otlinghaus Date: Sat, 21 Nov 2020 18:18:51 +0100 Subject: [PATCH] Cps Script: Use script and not console_scripts --- setup.cfg | 5 +---- setup.py | 3 ++- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/setup.cfg b/setup.cfg index b10c2828..8e90bcf2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,7 +2,7 @@ universal = 1 [metadata] -name = calibreweb +name = calibre-web url = https://github.com/janeczku/calibre-web project_urls = Bug Tracker = https://github.com/janeczku/calibre-web/issues @@ -33,9 +33,6 @@ keywords = library python_requires = >=2.6 -[options.entry_points] -console_scripts = - cps = calibreweb:main [options] include_package_data = True dependency_links = comicapi @ git+https://github.com/OzzieIsaacs/comicapi.git@5346716578b2843f54d522f44d01bc8d25001d24#egg=comicapi diff --git a/setup.py b/setup.py index 593c1b63..3ed317c1 100644 --- a/setup.py +++ b/setup.py @@ -42,5 +42,6 @@ def find_version(*file_paths): setup( packages=find_packages("./"), package_dir = {'': './'}, - version=find_version("cps", "constants.py") + version=find_version("cps", "constants.py"), + scripts=['cps.py'] )