From a0976fe640d8e6118c0c5fd94fc3f80925aca4ad Mon Sep 17 00:00:00 2001 From: dzalkind Date: Wed, 3 Jan 2024 16:09:14 -0700 Subject: [PATCH] Update install paths --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index f86cf03c..8b83331a 100644 --- a/setup.py +++ b/setup.py @@ -82,7 +82,7 @@ def build_extension(self, ext): raise RuntimeError('Cannot find CMake executable') # Refresh build directory - localdir = os.path.join(this_directory, 'ROSCO','install') + localdir = os.path.join(this_directory, 'rosco','controller','install') os.makedirs(localdir, exist_ok=True) cmake_args = ['-DBUILD_SHARED_LIBS=OFF'] @@ -97,7 +97,7 @@ def build_extension(self, ext): else: raise ValueError("Unable to find the system's Fortran compiler.") - self.build_temp = os.path.join( os.path.dirname( os.path.realpath(__file__) ), 'ROSCO', 'build') + self.build_temp = os.path.join( os.path.dirname( os.path.realpath(__file__) ), 'rosco', 'controller', 'build') os.makedirs(localdir, exist_ok=True) # Need fresh build directory for CMake os.makedirs(self.build_temp, exist_ok=True) @@ -108,7 +108,7 @@ def build_extension(self, ext): # All of the extensions -roscoExt = CMakeExtension('rosco','ROSCO') +roscoExt = CMakeExtension('rosco',os.path.join('rosco','controller')) # The rest you shouldn't have to touch too much :) # ------------------------------------------------