Skip to content

Commit b2f4595

Browse files
committed
Updating build templates
1 parent da5a649 commit b2f4595

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

eng/templates/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ jobs:
1515
python --version
1616
displayName: 'Check python version'
1717
- bash: |
18+
python -m venv .env
19+
.env\Scripts\Activate.ps1
1820
python -m pip install -U pip
19-
pip install twine wheel
21+
python -m pip install .
22+
python -m pip install twine wheel
2023
python setup.py sdist bdist_wheel
2124
displayName: 'Build Python SDK'

eng/templates/jobs/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
displayName: 'Check python version'
1212
- bash: |
1313
python -m pip install -U pip
14+
python -m pip install .
1415
pip install twine wheel
1516
python setup.py sdist bdist_wheel
1617
displayName: 'Build Python SDK'

0 commit comments

Comments
 (0)