From d168e3bfdbcb68aa29584a93c872e1699be00553 Mon Sep 17 00:00:00 2001 From: Ozzieisaacs Date: Tue, 16 Jul 2019 21:08:23 +0200 Subject: [PATCH] Add licence to oauth fix comicapi dependency --- cps/oauth.py | 16 ++++++++++++++++ optional-requirements.txt | 2 +- setup.cfg | 3 ++- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/cps/oauth.py b/cps/oauth.py index 35362dbf..3f40c77c 100644 --- a/cps/oauth.py +++ b/cps/oauth.py @@ -1,6 +1,22 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) +# Copyright (C) 2018-2019 jim3ma +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see + from __future__ import division, print_function, unicode_literals from flask import session diff --git a/optional-requirements.txt b/optional-requirements.txt index ed653020..a8263a11 100644 --- a/optional-requirements.txt +++ b/optional-requirements.txt @@ -27,7 +27,7 @@ rarfile>=2.7 # other natsort>=2.2.0 -git+https://github.com/decentral1se/comicapi.git@packaging-fix/remove-python-requires#egg=comicapi +git+https://github.com/OzzieIsaacs/comicapi.git@5346716578b2843f54d522f44d01bc8d25001d24#egg=comicapi # Oauth Login flask-dance>=0.13.0 diff --git a/setup.cfg b/setup.cfg index b8c65581..b10c2828 100644 --- a/setup.cfg +++ b/setup.cfg @@ -38,6 +38,7 @@ console_scripts = cps = calibreweb:main [options] include_package_data = True +dependency_links = comicapi @ git+https://github.com/OzzieIsaacs/comicapi.git@5346716578b2843f54d522f44d01bc8d25001d24#egg=comicapi install_requires = Babel >= 1.3 Flask-Babel >= 0.11.1 @@ -80,7 +81,7 @@ metadata = comics= natsort>=2.2.0 # find solution for this should belong to comics - # comicapi @ git+https://github.com/decentral1se/comicapi.git@packaging-fix/remove-python-requires#egg=comicapi + # comicapi @ git+https://github.com/OzzieIsaacs/comicapi/archive/5346716578b2843f54d522f44d01bc8d25001d24.zip#egg=comicapi