Cps Script: Use script and not console_scripts

pull/1720/head
Fritz Otlinghaus 4 years ago
parent eb5731057c
commit 820929208d
No known key found for this signature in database
GPG Key ID: 1E5F98946FB1444E

@ -2,7 +2,7 @@
universal = 1 universal = 1
[metadata] [metadata]
name = calibreweb name = calibre-web
url = https://github.com/janeczku/calibre-web url = https://github.com/janeczku/calibre-web
project_urls = project_urls =
Bug Tracker = https://github.com/janeczku/calibre-web/issues Bug Tracker = https://github.com/janeczku/calibre-web/issues
@ -33,9 +33,6 @@ keywords =
library library
python_requires = >=2.6 python_requires = >=2.6
[options.entry_points]
console_scripts =
cps = calibreweb:main
[options] [options]
include_package_data = True include_package_data = True
dependency_links = comicapi @ git+https://github.com/OzzieIsaacs/comicapi.git@5346716578b2843f54d522f44d01bc8d25001d24#egg=comicapi dependency_links = comicapi @ git+https://github.com/OzzieIsaacs/comicapi.git@5346716578b2843f54d522f44d01bc8d25001d24#egg=comicapi

@ -42,5 +42,6 @@ def find_version(*file_paths):
setup( setup(
packages=find_packages("./"), packages=find_packages("./"),
package_dir = {'': './'}, package_dir = {'': './'},
version=find_version("cps", "constants.py") version=find_version("cps", "constants.py"),
scripts=['cps.py']
) )

Loading…
Cancel
Save