1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-04-03 19:23:32 +02:00

Removed Windows bits.

This commit is contained in:
2020-06-17 19:23:52 +02:00
parent cd93b85eb0
commit 1a09e3db84
34 changed files with 147 additions and 820 deletions

View File

@@ -2,14 +2,13 @@ import importlib
import sys
import zipfile
from ebook_converter.constants_old import numeric_version, iswindows, isosx
from ebook_converter.constants_old import numeric_version, isosx
from ebook_converter.ptempfile import PersistentTemporaryFile
platform = 'linux'
if iswindows:
platform = 'windows'
elif isosx:
if isosx:
platform = 'osx'
@@ -331,7 +330,7 @@ class MetadataReaderPlugin(Plugin):
#: For example: ``set(['lit', 'mobi', 'prc'])``
file_types = set()
supported_platforms = ['windows', 'osx', 'linux']
supported_platforms = ['osx', 'linux']
version = numeric_version
author = 'Kovid Goyal'
@@ -363,7 +362,7 @@ class MetadataWriterPlugin(Plugin):
#: For example: ``set(['lit', 'mobi', 'prc'])``
file_types = set()
supported_platforms = ['windows', 'osx', 'linux']
supported_platforms = ['osx', 'linux']
version = numeric_version
author = 'Kovid Goyal'
@@ -509,7 +508,7 @@ class CatalogPlugin(Plugin):
class InterfaceActionBase(Plugin):
supported_platforms = ['windows', 'osx', 'linux']
supported_platforms = ['osx', 'linux']
author = 'Kovid Goyal'
type = 'User interface action'
can_be_disabled = False
@@ -542,7 +541,7 @@ class PreferencesPlugin(Plugin):
various fields of the plugin control how it is categorized in the UI.
"""
supported_platforms = ['windows', 'osx', 'linux']
supported_platforms = ['osx', 'linux']
author = 'Kovid Goyal'
type = 'Preferences'
can_be_disabled = False
@@ -594,7 +593,7 @@ class PreferencesPlugin(Plugin):
class StoreBase(Plugin):
supported_platforms = ['windows', 'osx', 'linux']
supported_platforms = ['osx', 'linux']
author = 'John Schember'
type = 'Store'
# Information about the store. Should be in the primary language

View File

@@ -28,7 +28,7 @@ class PML2PMLZ(FileTypePlugin):
'a PML file to the library.')
version = numeric_version
file_types = {'pml'}
supported_platforms = ['windows', 'osx', 'linux']
supported_platforms = ['osx', 'linux']
on_import = True
def run(self, pmlfile):
@@ -60,7 +60,7 @@ class TXT2TXTZ(FileTypePlugin):
'the archive.')
version = numeric_version
file_types = {'txt', 'text'}
supported_platforms = ['windows', 'osx', 'linux']
supported_platforms = ['osx', 'linux']
on_import = True
def _get_image_references(self, txt, base_dir):

View File

@@ -103,7 +103,7 @@ class InputFormatPlugin(Plugin):
type = 'Conversion input'
can_be_disabled = False
supported_platforms = ['windows', 'osx', 'linux']
supported_platforms = ['osx', 'linux']
commit_name = None # unique name under which options for this plugin are saved
ui_data = None
@@ -241,7 +241,7 @@ class OutputFormatPlugin(Plugin):
type = 'Conversion output'
can_be_disabled = False
supported_platforms = ['windows', 'osx', 'linux']
supported_platforms = ['osx', 'linux']
commit_name = None # unique name under which options for this plugin are saved
ui_data = None

View File

@@ -41,7 +41,7 @@ class Plugin(_Plugin):
class InputProfile(Plugin):
author = 'Kovid Goyal'
supported_platforms = {'windows', 'osx', 'linux'}
supported_platforms = {'osx', 'linux'}
can_be_disabled = False
type = 'Input profile'
@@ -239,7 +239,7 @@ input_profiles.sort(key=lambda x: x.name.lower())
class OutputProfile(Plugin):
author = 'Kovid Goyal'
supported_platforms = {'windows', 'osx', 'linux'}
supported_platforms = {'osx', 'linux'}
can_be_disabled = False
type = 'Output profile'