Merge pull request #1296 from tartley/lint-fixes

Fix CI lint failures
This commit is contained in:
Apprentice Harper 2020-10-14 16:24:16 +01:00 committed by GitHub
commit 608bd400ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,19 +19,6 @@ OBOK_SRC_DIR = 'Obok_plugin'
OBOK_README = 'obok_plugin_ReadMe.txt' OBOK_README = 'obok_plugin_ReadMe.txt'
RELEASE_DIR = 'release' RELEASE_DIR = 'release'
def make_calibre_plugin():
shutil.make_archive(core_dir, 'zip', core_dir)
shutil.rmtree(core_dir)
def make_obok_plugin():
obok_plugin_dir = os.path.join(SHELLS_BASE, 'Obok_calibre_plugin')
core_dir = os.path.join(obok_plugin_dir, 'obok_plugin')
shutil.copytree(OBOK_SRC_DIR, core_dir)
shutil.make_archive(core_dir, 'zip')
shutil.rmtree(core_dir)
def make_release(version): def make_release(version):
try: try: