1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
From: Agathe Porte <debian@microjoe.org>
Date: Fri, 21 May 2021 21:16:12 +0200
Subject: grammalecte-server: use system bottle library
Forwarded: not-needed
---
grammalecte-server.py | 2 +-
make.py | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/grammalecte-server.py b/grammalecte-server.py
index 90a337f..3cd9a82 100644
--- a/grammalecte-server.py
+++ b/grammalecte-server.py
@@ -12,7 +12,7 @@ import time
import os
import concurrent.futures
-from grammalecte.bottle import Bottle, run, request, response #, template, static_file
+from bottle import Bottle, run, request, response #, template, static_file
import grammalecte
import grammalecte.text as txt
diff --git a/make.py b/make.py
index 16955c6..1895186 100644
--- a/make.py
+++ b/make.py
@@ -208,7 +208,6 @@ def create (sLang, xConfig, bInstallOXT, bJavaScript, bUseCache):
for sf in os.listdir("gc_core/py"):
if not os.path.isdir("gc_core/py/"+sf):
helpers.copyAndFileTemplate("gc_core/py/"+sf, "grammalecte/"+sf, dVars)
- file_util.copy_file("3rd/bottle.py", "grammalecte/bottle.py")
open("grammalecte/WARNING.txt", "w", encoding="utf-8", newline="\n").write(sWarningMessage)
## CREATE GRAMMAR CHECKER PACKAGE
|