xref: /aosp_15_r20/tools/netsim/testing/netsim-grpc/configure.cmd (revision cf78ab8cffb8fc9207af348f23af247fb04370a6)
1*cf78ab8cSAndroid Build Coastguard Workerset PYTHON=./../../../../../prebuilts/python/windows/x86/python3
2*cf78ab8cSAndroid Build Coastguard Worker%PYTHON% -m venv
3*cf78ab8cSAndroid Build Coastguard Workerstart venv\Scripts\activate.bat
4*cf78ab8cSAndroid Build Coastguard Worker
5*cf78ab8cSAndroid Build Coastguard Workerrem let's write out the pip.conf used to pull local packages
6*cf78ab8cSAndroid Build Coastguard Workerecho "[global]" > venv/pip.conf
7*cf78ab8cSAndroid Build Coastguard Workerecho "timeout=1" >> venv/pip.conf
8*cf78ab8cSAndroid Build Coastguard Workerecho "%~dp0/repo/simple" >> venv/pip.conf
9*cf78ab8cSAndroid Build Coastguard Worker
10*cf78ab8cSAndroid Build Coastguard Workerrem install all the requirements
11*cf78ab8cSAndroid Build Coastguard Workerpip install --pre  --extra-index-url repo/simple -e .\[test\]