From e9fbb19d679d19ced6087e7729cbd3720bf5769e Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Wed, 18 Dec 2019 18:09:44 -0600 Subject: [PATCH] Reduce minimum_calibre_version to v2.85.1, last of 2 series. --- calibre-plugin/__init__.py | 2 +- makeplugin.py | 15 ++++++--------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/calibre-plugin/__init__.py b/calibre-plugin/__init__.py index bbb40a9d..6a4f2153 100644 --- a/calibre-plugin/__init__.py +++ b/calibre-plugin/__init__.py @@ -52,7 +52,7 @@ class FanFicFareBase(InterfaceActionBase): supported_platforms = ['windows', 'osx', 'linux'] author = 'Jim Miller' version = __version__ - minimum_calibre_version = (3, 48, 0) + minimum_calibre_version = (2, 85, 1) #: This field defines the GUI plugin class that contains all the code #: that actually does something. Its format is module_path:class_name diff --git a/makeplugin.py b/makeplugin.py index f36ef2c6..4a011f81 100644 --- a/makeplugin.py +++ b/makeplugin.py @@ -34,15 +34,12 @@ if __name__=="__main__": files, exclude=exclude) - # os.chdir('../included_dependencies') - # files=['bs4','chardet','html2text','soupsieve','backports'] - # # calibre has it's own copies of these that precedence anyway: - # # 'html5lib','webencodings' - # # webencodings is only needed by versions of html5lib after 0.9x7 - # # 'a' for append - # createZipFile("../"+filename,"a", - # files, - # exclude=exclude) + os.chdir('../included_dependencies') + files=['bs4','chardet','html2text','soupsieve','backports'] + ## Kept only for v2.85.1 support now. + createZipFile("../"+filename,"a", + files, + exclude=exclude) os.chdir('..') # 'a' for append