mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-09 12:02:08 +00:00
remove unused code
This commit is contained in:
parent
834385baff
commit
f7d44330a2
1 changed files with 1 additions and 4 deletions
5
setup.py
5
setup.py
|
|
@ -30,8 +30,6 @@ from glfw.glfw import Command, CompileKey
|
|||
if sys.version_info[:2] < (3, 8):
|
||||
raise SystemExit('kitty requires python >= 3.8')
|
||||
base = os.path.dirname(os.path.abspath(__file__))
|
||||
sys.path.insert(0, base)
|
||||
del sys.path[0]
|
||||
|
||||
verbose = False
|
||||
build_dir = 'build'
|
||||
|
|
@ -484,8 +482,7 @@ def kitty_env() -> Env:
|
|||
if '-lz' not in ans.ldpaths:
|
||||
ans.ldpaths.append('-lz')
|
||||
|
||||
with suppress(FileExistsError):
|
||||
os.mkdir(build_dir)
|
||||
os.makedirs(build_dir, exist_ok=True)
|
||||
return ans
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue