From 2b362108b853f04eb955e314a9f24fcf1532cb1c Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 12 Nov 2016 08:27:12 +0530 Subject: [PATCH] ... --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 83fed4721..a84e0bb3c 100644 --- a/setup.py +++ b/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'))