mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-11-13 12:09:35 +03:00
sub-sort by filename in find_c_files()
This commit is contained in:
parent
97c2b7c1fe
commit
b6fb087d7e
2
setup.py
2
setup.py
@ -522,7 +522,7 @@ def find_c_files():
|
||||
ans, headers = [], []
|
||||
d = 'kitty'
|
||||
exclude = {'fontconfig.c', 'freetype.c', 'desktop.c'} if is_macos else {'core_text.m', 'cocoa_window.m', 'macos_process_info.c'}
|
||||
for x in os.listdir(d):
|
||||
for x in sorted(os.listdir(d)):
|
||||
ext = os.path.splitext(x)[1]
|
||||
if ext in ('.c', '.m') and os.path.basename(x) not in exclude:
|
||||
ans.append(os.path.join('kitty', x))
|
||||
|
Loading…
Reference in New Issue
Block a user