Skip to content

Commit

Permalink
Make setup compatible with virtualenv (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
fdamken authored Oct 9, 2023
1 parent edff8c5 commit 94ab4e8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions setup_deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,11 @@
resources_dir = osp.join(dependency_dir, "resources")

# Global cmake prefix path
cmake_prefix_path = [
cmake_prefix_path = []
conda_prefix = os.getenv("CONDA_PREFIX")
if conda_prefix:
# Anaconda env root directory
os.environ["CONDA_PREFIX"]
]
cmake_prefix_path.append(conda_prefix)

# Required packages
required_packages = [
Expand Down

0 comments on commit 94ab4e8

Please sign in to comment.