mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-24 18:47:23 +00:00
Added more information about dependencies
This commit is contained in:
parent
4be55285d8
commit
9356148e2d
@ -41,6 +41,8 @@ try:
|
|||||||
except ImportError:
|
except ImportError:
|
||||||
unidecode_version = _(u'not installed')
|
unidecode_version = _(u'not installed')
|
||||||
|
|
||||||
|
from . import services
|
||||||
|
|
||||||
about = flask.Blueprint('about', __name__)
|
about = flask.Blueprint('about', __name__)
|
||||||
|
|
||||||
|
|
||||||
@ -59,7 +61,9 @@ _VERSIONS = OrderedDict(
|
|||||||
SQLite=sqlite3.sqlite_version,
|
SQLite=sqlite3.sqlite_version,
|
||||||
iso639=isoLanguages.__version__,
|
iso639=isoLanguages.__version__,
|
||||||
pytz=pytz.__version__,
|
pytz=pytz.__version__,
|
||||||
Unidecode = unidecode_version
|
Unidecode = unidecode_version,
|
||||||
|
Flask_SimpleLDAP = _(u'installed') if bool(services.ldap) else _(u'not installed'),
|
||||||
|
Goodreads = _(u'installed') if bool(services.goodreads) else _(u'not installed'),
|
||||||
)
|
)
|
||||||
_VERSIONS.update(uploader.get_versions())
|
_VERSIONS.update(uploader.get_versions())
|
||||||
|
|
||||||
|
@ -224,11 +224,16 @@ def get_versions():
|
|||||||
PILVersion = 'v' + PILversion
|
PILVersion = 'v' + PILversion
|
||||||
else:
|
else:
|
||||||
PILVersion = _(u'not installed')
|
PILVersion = _(u'not installed')
|
||||||
|
if comic.use_comic_meta:
|
||||||
|
ComicVersion = _(u'installed')
|
||||||
|
else:
|
||||||
|
ComicVersion = _(u'not installed')
|
||||||
return {'Image Magick': IVersion,
|
return {'Image Magick': IVersion,
|
||||||
'PyPdf': PVersion,
|
'PyPdf': PVersion,
|
||||||
'lxml':XVersion,
|
'lxml':XVersion,
|
||||||
'Wand': WVersion,
|
'Wand': WVersion,
|
||||||
'Pillow': PILVersion}
|
'Pillow': PILVersion,
|
||||||
|
'Comic_API': ComicVersion}
|
||||||
|
|
||||||
|
|
||||||
def upload(uploadfile):
|
def upload(uploadfile):
|
||||||
|
Loading…
Reference in New Issue
Block a user