Skip to content

Commit

Permalink
In azurepipelines, set kvxopt via conda on Mac and Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jinningwang committed Jun 18, 2024
1 parent 826d539 commit 6c30476
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ Use the following resources to get involved.

# Installation

***NOTE:*** ``kvxopt`` is recommended to install via ``conda`` as sometimes ``pip`` struggles to set the correct path for compiled libraries.

AMS is released as ``ltbams`` on PyPI and conda-forge.
Install from PyPI using pip:

Expand Down
2 changes: 2 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
displayName: 'Use Python $(python.version)'

- script: |
conda install -c conda-forge kvxopt
python -m pip install --upgrade pip
pip install .[all]
displayName: 'Install dependencies'
Expand Down Expand Up @@ -83,6 +84,7 @@ jobs:
- script: |
call activate amsEnv
conda install -c conda-forge kvxopt
python -m pip install --upgrade pip
pip install pytest pytest-azurepipelines
pip install .[dev,interop]
Expand Down

0 comments on commit 6c30476

Please sign in to comment.