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
env/
eggs/
dist/
build/
.eggs/
*.egg-info/
.installed.cfg

View File

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

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.*
![Main screen](../../wiki/images/main_screen.png)
![Main screen](https://github.com/janeczku/calibre-web/wiki/images/main_screen.png)
## Features
@ -73,4 +73,4 @@ Pre-built Docker images based on Alpine Linux are available in these Docker Hub
# 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
if __name__ == '__main__':
def main():
app = create_app()
app.register_blueprint(web)
app.register_blueprint(opds)
@ -58,5 +58,5 @@ if __name__ == '__main__':
Server.startServer()
if __name__ == '__main__':
main()

View File

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