Skip to content

Commit

Permalink
An other desperate attempt to get the proper env
Browse files Browse the repository at this point in the history
  • Loading branch information
wawanbreton committed Nov 15, 2024
1 parent ebe7018 commit 806fede
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def _python_installs(self):
buffer = StringIO()
# with venv_vars.apply():
self.run(f"""python -c {outer}import importlib.metadata; print({inner};{inner}.join([(package.metadata[{inner}Name{inner}]+{inner},{inner}+ package.metadata[{inner}Version{inner}]) for package in importlib.metadata.distributions()])){outer}""",
env = "virtual_python_env",
env = ["conanrun", "virtual_python_env"],
stdout = buffer)

print(f"############################################################ {buffer.getvalue()}")
Expand Down

0 comments on commit 806fede

Please sign in to comment.