Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
flet-web / __init__.py
Size: Mime:
import os
from pathlib import Path

from flet_web.patch_index import (
    patch_font_manifest_json,
    patch_index_html,
    patch_manifest_json,
)


def get_package_web_dir():
    web_root_dir = os.environ.get("FLET_WEB_PATH")
    return web_root_dir or str(Path(__file__).parent.joinpath("web"))


__all__ = ["patch_font_manifest_json", "patch_index_html", "patch_manifest_json"]