removed langdetect dependency

This commit is contained in:
mammo0 2021-03-11 10:03:53 +01:00
parent 51980f6ff5
commit d4cb859c8d
2 changed files with 0 additions and 5 deletions

View file

@ -2,14 +2,10 @@ import os
from flask import Flask, render_template, jsonify, request, abort, send_from_directory from flask import Flask, render_template, jsonify, request, abort, send_from_directory
from flask_swagger import swagger from flask_swagger import swagger
from flask_swagger_ui import get_swaggerui_blueprint from flask_swagger_ui import get_swaggerui_blueprint
from langdetect import detect_langs
from langdetect import DetectorFactory
from pkg_resources import resource_filename from pkg_resources import resource_filename
from .api_keys import Database from .api_keys import Database
from app.language import detect_languages from app.language import detect_languages
DetectorFactory.seed = 0 # deterministic
api_keys_db = None api_keys_db = None
def get_json_dict(request): def get_json_dict(request):

View file

@ -4,7 +4,6 @@ flask-swagger==0.2.14
flask-swagger-ui==3.36.0 flask-swagger-ui==3.36.0
Flask-Limiter==1.4 Flask-Limiter==1.4
waitress==1.4.4 waitress==1.4.4
langdetect==1.0.8
expiringdict==1.2.1 expiringdict==1.2.1
pyicu==2.6 pyicu==2.6
pycld2==0.41 pycld2==0.41