mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-16 22:10:26 +00:00
With PyOxidizer 0.18.0 AppName in setup.py has to be changed to the all lower case "linkchecker". Application translations do not work. better_exchook2.fallback_findfile() may still need converting, first needs a test.
13 lines
379 B
Python
13 lines
379 B
Python
def make_exe():
|
|
dist = default_python_distribution()
|
|
python_config = dist.make_python_interpreter_config()
|
|
python_config.run_module = "linkcheck"
|
|
exe = dist.to_python_executable(
|
|
name="linkchecker",
|
|
config=python_config,
|
|
)
|
|
exe.add_python_resources(exe.pip_install([CWD]))
|
|
return exe
|
|
|
|
register_target("exe", make_exe)
|
|
resolve_targets()
|