Skip to content

Commit

Permalink
cosypose binary: dont mess with env variables outside of conda
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s committed Sep 8, 2023
1 parent 27471bd commit 38c6a8b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions happypose/pose_estimators/cosypose/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
here = path.abspath(path.dirname(__file__))

# Use correct conda compiler used to build pytorch
if 'CXX' not in os.environ:
os.environ['CXX'] = os.environ.get('GXX', '')
if 'CONDA_PYTHON_EXE' in os.environ:
if 'CXX' not in os.environ:
os.environ['CXX'] = os.environ.get('GXX', '')

setup(
name='cosypose',
Expand Down

0 comments on commit 38c6a8b

Please sign in to comment.