From 0c57184ef180ec628c46fbabe008d641f73dec59 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 29 Oct 2026 14:06:45 -0400 Subject: [PATCH] Fix fish completion packaging for debian friendliness --- confluent_client/MANIFEST.in | 2 +- confluent_client/setup.py.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/confluent_client/MANIFEST.in b/confluent_client/MANIFEST.in index 8b269f86..a0d34d55 100644 --- a/confluent_client/MANIFEST.in +++ b/confluent_client/MANIFEST.in @@ -1,4 +1,4 @@ include confluent_env.sh include confluent_env.csh include confluent.fish -include build/fish_completions/*.fish +include fish_completions/*.fish diff --git a/confluent_client/setup.py.tmpl b/confluent_client/setup.py.tmpl index 37b7f40a..57c9908d 100644 --- a/confluent_client/setup.py.tmpl +++ b/confluent_client/setup.py.tmpl @@ -5,7 +5,7 @@ completion_commands = [] with open('confluent.fish') as completion_file: completion_commands = [line.split()[2] for line in completion_file if line.startswith('complete -c ')] -completion_dir = os.path.join('build', 'fish_completions') +completion_dir = 'fish_completions' if not os.path.isdir(completion_dir): os.makedirs(completion_dir) for command in completion_commands: