# Path: kiwixbuild/versions.py



import os
import tarfile
import zipfile
import subprocess
import re
import shutil
import requests
from os import environ as _environ
from pathlib import Path
from datetime import date
from kiwixbuild.versions import (
    main_project_versions,
    release_versions,
    base_deps_versions,
)

# We have build everything. Now create archives for public deployement.
EXPORT_FILES = {
    "kiwix-tools": (
        INSTALL_DIR / "bin",
        [
            f + BIN_EXT
            for f in ("kiwix-manage", "kiwix-read", "kiwix-search", "kiwix-serve")
        ],
    ),
    "zim-tools": (
        INSTALL_DIR / "bin",
        [
            f + BIN_EXT
            for f in (
                "zimbench",
                "zimcheck",
                "zimdump",
                "zimsearch",
                "zimdiff",
                "zimpatch",
                "zimsplit",
                "zimwriterfs",
                "zimrecreate"
            )
        ],
    ),
    "libzim": (
        INSTALL_DIR,
        (

# Path: kiwixbuild/versions.py



# Path: .github/scripts/common.py
import os
import tarfile
import zipfile
import subprocess
import re
import shutil
import requests
from os import environ as _environ
from pathlib import Path
from datetime import date
from kiwixbuild.versions import (
    main_project_versions,
    release_versions,
    base_deps_versions,
)


# We have build everything. Now create archives for public deployement.
EXPORT_FILES = {
    "kiwix-tools": (
        INSTALL_DIR / "bin",
        [
            f + BIN_EXT
            for f in ("kiwix-manage", "kiwix-read", "kiwix-search", "kiwix-serve")
        ],
    ),
    "zim-tools": (
        INSTALL_DIR / "bin",
        [
            f + BIN_EXT
            for f in (
                "zimbench",
                "zimcheck",
                "zimdump",
                "zimsearch",
                "zimdiff",
                "zimpatch",
                "zimsplit",
                "zimwriterfs",
                "zimrecreate"
            )
        ],
    ),
    "libzim": (
        INSTALL_DIR,
        (

            "lib/x86_64-linux-gnu/libzim.so.{}".format(main_project_versions["libzim"]),