mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 06:36:24 +00:00
...
This commit is contained in:
parent
d28c7fee68
commit
2b362108b8
1 changed files with 2 additions and 2 deletions
4
setup.py
4
setup.py
|
|
@ -83,7 +83,7 @@ def find_c_files():
|
|||
d = os.path.join(base, 'kitty')
|
||||
for x in os.listdir(d):
|
||||
if x.endswith('.c'):
|
||||
yield os.path.join(d, x)
|
||||
yield os.path.join('kitty', x)
|
||||
|
||||
|
||||
def main():
|
||||
|
|
@ -92,7 +92,7 @@ def main():
|
|||
args = option_parser().parse_args()
|
||||
init_env(args.debug)
|
||||
if args.action == 'build':
|
||||
compile_c_extension(*find_c_files())
|
||||
compile_c_extension('kitty/fast_data_types', *find_c_files())
|
||||
elif args.action == 'test':
|
||||
os.execlp(sys.executable, sys.executable, os.path.join(base, 'test.py'))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue