mirror of
https://github.com/aclist/dztui.git
synced 2026-10-31 15:12:48 +01:00
fix: typo
This commit is contained in:
1 parent
3b35d75b72
commit
48cb062d90
1 file changed
+4
-1
+4
-1
@@ -26,10 +26,13 @@ pyapp_dir = build_dir.joinpath("pyapp-latest")
|
|||||||
if pyapp_dir.is_dir() is False:
|
if pyapp_dir.is_dir() is False:
|
||||||
get_pyapp()
|
get_pyapp()
|
||||||
|
|
||||||
|
# TODO: get resulting filename from this function
|
||||||
packaged_version = rebuild_cpython()
|
packaged_version = rebuild_cpython()
|
||||||
assert packaged_version == version
|
assert packaged_version == version
|
||||||
cpython = build_dir.joinpath("airgapped.tar.gz")
|
cpython = build_dir.joinpath("airgapped.tar.gz")
|
||||||
|
|
||||||
|
# TODO: parse pyproject directly
|
||||||
|
|
||||||
entrypoint = "dzgui.main:main"
|
entrypoint = "dzgui.main:main"
|
||||||
env = os.environ
|
env = os.environ
|
||||||
env["PYAPP_PROJECT_VERSION"] = version
|
env["PYAPP_PROJECT_VERSION"] = version
|
||||||
@@ -60,7 +63,7 @@ if proc.returncode == 0:
|
|||||||
output_exe.rename(release_exe)
|
output_exe.rename(release_exe)
|
||||||
tarpath = output.joinpath(tarname)
|
tarpath = output.joinpath(tarname)
|
||||||
with tarfile.open(tarpath, "w:gz") as tar:
|
with tarfile.open(tarpath, "w:gz") as tar:
|
||||||
info = tar.gettarinfo(subfile)
|
info = tar.gettarinfo(subfolder)
|
||||||
info.uname = appname
|
info.uname = appname
|
||||||
info.name = appname
|
info.name = appname
|
||||||
with open(subfolder, "rb") as f:
|
with open(subfolder, "rb") as f:
|
||||||
|
|||||||
Reference in new issue
Block a user