File tree 3 files changed +5
-19
lines changed
3 files changed +5
-19
lines changed Original file line number Diff line number Diff line change @@ -6,4 +6,5 @@ packaging==24.1
6
6
pytest==6.2.5
7
7
fastcore==1.3.25
8
8
tox==4.15.0
9
- wheel
9
+ wheel==0.46.1
10
+ setuptools==78.1.0
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- VIRTUAL_ENV=$TMPDIR /venv-sdk
4
- export VIRTUAL_ENV
5
- PATH=" $VIRTUAL_ENV /bin:$PATH "
6
- export PATH
7
-
8
- TEMP_FILE=" $TMPDIR /venv-sdk/auto_temp.json"
3
+ TEMP_FILE=" $TMPDIR /auto_temp.json"
9
4
# generate code
10
5
python -m packaging_tools.sdk_generator " $1 " " $TEMP_FILE " --debug 2>&1
11
6
echo " [Generate] codegen done!!!"
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- # install python3.10
4
- sudo add-apt-repository ppa:deadsnakes/ppa > /dev/null
5
- sudo apt-get install python3.10 > /dev/null
6
- sudo apt-get install python3.10-venv > /dev/null
7
-
8
3
# init env
9
- rm -rf $TMPDIR /venv-sdk > /dev/null
10
- python3.10 -m venv $TMPDIR /venv-sdk > /dev/null
11
- VIRTUAL_ENV=$TMPDIR /venv-sdk
12
- export VIRTUAL_ENV
13
- PATH=" $VIRTUAL_ENV /bin:$PATH "
14
- export PATH
15
4
python -m pip install -U pip > /dev/null
16
5
python scripts/dev_setup.py -p azure-core > /dev/null
17
6
pip install tox==4.15.0 > /dev/null
18
- pip install wheel > /dev/null
7
+ pip install wheel==0.46.1 > /dev/null
8
+ pip install setuptools==78.1.0 > /dev/null
19
9
20
10
# install tsp-client globally (local install may interfere with tooling)
21
11
echo Install tsp-client
You can’t perform that action at this time.
0 commit comments