binary generation ok

This commit is contained in:
2026-02-22 00:43:16 +01:00
parent 88bd2c2787
commit a05a77842f
2 changed files with 20 additions and 16 deletions

View File

@@ -31,8 +31,9 @@ dynamic = ["version"]
[project.scripts] [project.scripts]
testium = "testium:main" testium = "testium:main"
[tool.setuptools.package-data] [tool.setuptools.packages.find]
docpkg = ["*.pdf"] where=["."]
exclude=["lua_func", "py_func"]
[tool.setuptools.dynamic] [tool.setuptools.dynamic]
version = {file = ["VERSION"]} version = {file = ["VERSION"]}

View File

@@ -46,6 +46,7 @@ def get_testium_version():
return (ver + " (binary release)") return (ver + " (binary release)")
# Executed from sources # Executed from sources
try:
if prefs.settings.git_supported: if prefs.settings.git_supported:
git = import_module("git") git = import_module("git")
path = tm.get_main_dir() path = tm.get_main_dir()
@@ -61,6 +62,8 @@ def get_testium_version():
return "Warning : testium not versioned" return "Warning : testium not versioned"
else: else:
return "Warning git not supported in your settings, version of testium is unknown." return "Warning git not supported in your settings, version of testium is unknown."
except:
return ("Unknown")
def get_modifications(path : str)-> str: def get_modifications(path : str)-> str: