Skip to content

Commit cf1ef5c

Browse files
committed
Remove Unused Config
1 parent 8d2da03 commit cf1ef5c

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

cppython/plugins/conan/plugin.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -180,17 +180,11 @@ def _generate_consumer_files(self, conan_api: ConanAPI, deps_graph) -> None:
180180

181181
conan_api.install.install_consumer(
182182
deps_graph=deps_graph,
183-
generators=[], # Our conanfile.py template defines this
183+
generators=None, # Our conanfile.py template defines this
184184
source_folder=str(project_root),
185185
output_folder=str(self.core_data.cppython_data.build_path),
186186
)
187-
188-
# Rename the generated toolchain file so our wrapper can include it
189-
original_toolchain = self.core_data.cppython_data.build_path / 'conan_toolchain.cmake'
190-
renamed_toolchain = self.core_data.cppython_data.build_path / 'conan_toolchain.cmake.real'
191-
192-
if original_toolchain.exists() and not renamed_toolchain.exists():
193-
original_toolchain.rename(renamed_toolchain)
187+
conan_api.install.
194188

195189
def install(self) -> None:
196190
"""Installs the provider"""

0 commit comments

Comments
 (0)