mirror of
https://github.com/chatmail/relay.git
synced 2026-06-10 05:31:08 +00:00
don't depend on deltachat python package
This commit is contained in:
@@ -4,6 +4,7 @@ import importlib.resources
|
||||
from deploy_chatmail.www import build_webpages
|
||||
from deploy_chatmail import get_ini_settings
|
||||
|
||||
|
||||
def create_ini(inipath):
|
||||
inipath.write_text(
|
||||
textwrap.dedent(
|
||||
@@ -22,6 +23,7 @@ def create_ini(inipath):
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
def test_build_webpages(tmp_path):
|
||||
pkgroot = importlib.resources.files("deploy_chatmail")
|
||||
src_dir = pkgroot.joinpath("../../../www/src").resolve()
|
||||
|
||||
Reference in New Issue
Block a user