Update setup

This commit is contained in:
Ozzieisaacs 2019-06-01 09:51:20 +02:00
parent 67bd5d41aa
commit f5b335e8e9
6 changed files with 24 additions and 15 deletions

2
.gitignore vendored
View File

@ -8,6 +8,8 @@ __pycache__/
.Python .Python
env/ env/
eggs/ eggs/
dist/
build/
.eggs/ .eggs/
*.egg-info/ *.egg-info/
.installed.cfg .installed.cfg

View File

@ -1,3 +1 @@
include cps/static/* graft src/cps
include cps/templates/*
include cps/translations/*

View File

@ -4,7 +4,7 @@ Calibre-Web is a web app providing a clean interface for browsing, reading and d
*This software is a fork of [library](https://github.com/mutschler/calibreserver) and licensed under the GPL v3 License.* *This software is a fork of [library](https://github.com/mutschler/calibreserver) and licensed under the GPL v3 License.*
![Main screen](../../wiki/images/main_screen.png) ![Main screen](https://github.com/janeczku/calibre-web/wiki/images/main_screen.png)
## Features ## Features
@ -73,4 +73,4 @@ Pre-built Docker images based on Alpine Linux are available in these Docker Hub
# Wiki # Wiki
For further informations, How To's and FAQ please check the ![Wiki](../../wiki) For further informations, How To's and FAQ please check the ![Wiki](https://github.com/janeczku/calibre-web/wiki)

0
__init__.py Normal file
View File

6
cps.py
View File

@ -43,7 +43,7 @@ except ImportError:
oauth_available = False oauth_available = False
if __name__ == '__main__': def main():
app = create_app() app = create_app()
app.register_blueprint(web) app.register_blueprint(web)
app.register_blueprint(opds) app.register_blueprint(opds)
@ -58,5 +58,5 @@ if __name__ == '__main__':
Server.startServer() Server.startServer()
if __name__ == '__main__':
main()

View File

@ -3,7 +3,7 @@ universal = 1
[metadata] [metadata]
name = calibre-web name = calibre-web
version="0.6.3" version= 0.6.4 Beta
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
@ -11,8 +11,10 @@ project_urls =
Documentation = https://github.com/janeczku/calibre-web/wiki Documentation = https://github.com/janeczku/calibre-web/wiki
Source Code = https://github.com/janeczku/calibre-web Source Code = https://github.com/janeczku/calibre-web
description = Web app for browsing, reading and downloading eBooks stored in a Calibre database. description = Web app for browsing, reading and downloading eBooks stored in a Calibre database.
long_description = file: readme.md long_description = file: README.md
author = @janeczku long_description_content_type= text/markdown
author = @OzzieIsaacs
author_email = Ozzie.Fernandez.Isaacs@googlemail.com
maintainer = @OzzieIsaacs maintainer = @OzzieIsaacs
license = GPLv3+ license = GPLv3+
license_file = LICENSE license_file = LICENSE
@ -25,14 +27,21 @@ classifiers =
Programming Language :: Python :: 3.5 Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.7
Operating System :: OS Independent
keywords = keywords =
calibre calibre
calibre-web calibre-web
library library
[entry_points]
console_scripts =
calibre-web=src.cps:main
[options] [options]
python_requires = >=2.6 python_requires = >=2.6
packages = find: package_dir=
=src
packages = cps
include_package_data = True include_package_data = True
zip_safe = False zip_safe = False
install_requires = install_requires =
@ -76,7 +85,7 @@ metadata =
Wand >= 0.4.4 Wand >= 0.4.4
comics= comics=
natsort>=2.2.0 natsort>=2.2.0
comicapi @ git+https://github.com/wildthyme/comicapi.git@cb279168f9c5cec742b5a05ac8326b9c168a8a91#egg=comicapi # https://github.com/wildthyme/comicapi/archive/cb279168f9c5cec742b5a05ac8326b9c168a8a91.zip#egg=comicapi
# find solution for this
[options.packages.find]
where = .