From 38caf962b0b4bca9849b71b1ca1cc0faae04a315 Mon Sep 17 00:00:00 2001 From: Karen Archer <151282+blueshrapnel@users.noreply.github.com> Date: Fri, 21 Jun 2024 11:32:08 +0100 Subject: [PATCH] Update setup.py to avoid TypeError Removing these lines solves the error when running pip install . TypeError: Command.reinitialize_command() got an unexpected keyword arguments: 'inplace', 'headers_dir' --- setup.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/setup.py b/setup.py index c1de3fdf..e58a6f80 100644 --- a/setup.py +++ b/setup.py @@ -132,9 +132,7 @@ def finalize_options(self): _finalize_mjbindings_options(self) def run(self): - self.reinitialize_command('build_mjbindings', - inplace=self.inplace, - headers_dir=self.headers_dir) + self.reinitialize_command('build_mjbindings') self.run_command('build_mjbindings') install.install.run(self)