dump tree
This commit is contained in:
parent
7b2991de02
commit
6fe0c8ba2f
10
setup.py
10
setup.py
@ -884,8 +884,6 @@ def update_go_generated_files(args: Options, kitty_exe: str) -> None:
|
|||||||
print('Updating Go generated files...', flush=True)
|
print('Updating Go generated files...', flush=True)
|
||||||
cp = subprocess.run([kitty_exe, '+launch', os.path.join(base, 'gen-go-code.py')], stdout=subprocess.PIPE)
|
cp = subprocess.run([kitty_exe, '+launch', os.path.join(base, 'gen-go-code.py')], stdout=subprocess.PIPE)
|
||||||
if cp.returncode != 0:
|
if cp.returncode != 0:
|
||||||
import traceback
|
|
||||||
traceback.print_stack()
|
|
||||||
raise SystemExit(cp.returncode)
|
raise SystemExit(cp.returncode)
|
||||||
|
|
||||||
|
|
||||||
@ -1381,10 +1379,7 @@ def package(args: Options, bundle_type: str) -> None:
|
|||||||
shutil.copy2('logo/kitty.png', os.path.join(libdir, 'logo'))
|
shutil.copy2('logo/kitty.png', os.path.join(libdir, 'logo'))
|
||||||
shutil.copy2('logo/beam-cursor.png', os.path.join(libdir, 'logo'))
|
shutil.copy2('logo/beam-cursor.png', os.path.join(libdir, 'logo'))
|
||||||
shutil.copy2('logo/beam-cursor@2x.png', os.path.join(libdir, 'logo'))
|
shutil.copy2('logo/beam-cursor@2x.png', os.path.join(libdir, 'logo'))
|
||||||
try:
|
|
||||||
shutil.copytree('shell-integration', os.path.join(libdir, 'shell-integration'), dirs_exist_ok=True)
|
shutil.copytree('shell-integration', os.path.join(libdir, 'shell-integration'), dirs_exist_ok=True)
|
||||||
except TypeError: # python < 3.8
|
|
||||||
shutil.copytree('shell-integration', os.path.join(libdir, 'shell-integration'))
|
|
||||||
allowed_extensions = frozenset('py glsl so'.split())
|
allowed_extensions = frozenset('py glsl so'.split())
|
||||||
|
|
||||||
def src_ignore(parent: str, entries: Iterable[str]) -> List[str]:
|
def src_ignore(parent: str, entries: Iterable[str]) -> List[str]:
|
||||||
@ -1433,6 +1428,11 @@ def package(args: Options, bundle_type: str) -> None:
|
|||||||
path = os.path.join(root, f_)
|
path = os.path.join(root, f_)
|
||||||
os.chmod(path, 0o755 if should_be_executable(path) else 0o644)
|
os.chmod(path, 0o755 if should_be_executable(path) else 0o644)
|
||||||
if not for_freeze:
|
if not for_freeze:
|
||||||
|
print(111111111, launcher_dir)
|
||||||
|
for path, dirs, files in os.walk(ddir):
|
||||||
|
print (path)
|
||||||
|
for f in files:
|
||||||
|
print (f)
|
||||||
build_kitty_tool(args, launcher_dir=launcher_dir)
|
build_kitty_tool(args, launcher_dir=launcher_dir)
|
||||||
if not is_macos:
|
if not is_macos:
|
||||||
create_linux_bundle_gunk(ddir, args.libdir_name)
|
create_linux_bundle_gunk(ddir, args.libdir_name)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user