-
Install Python 2.7 or 3.5 or later from python.org, apt-get, or some other installer.
-
Install Virtual Python Environment (virtualenv):
pip install virtualenv
-
Clone the VSTS CLI repository:
git clone https://github.com/Microsoft/azdos-cli
-
Optionally, clone the VSTS Python SDK repository:
git clone https://github.com/Microsoft/azdos-python-api
-
From the
azdos-clidirectory, create a new virtual environment:virtualenv env
-
Activate the new virtual environment: On Linux:
source env/Scripts/activateOn Windows:
env\Scripts\activate.bat
-
Run the
dev_setup.pyscript to install the VSTS CLI packages, VSTS Python SDK package, and other dependencies into your virtual environment:python scripts/dev_setup.py
Run azdos --version to verify your environment is setup properly. Any code change will be picked up automatically.