Building DroneKit-Python on Windows

This article shows how to set up an environment for developing DroneKit-Python on Windows.

Install DroneKit using WinPython command line

First set up a command line DroneKit-Python installation. We recommend WinPython or ActivePython, as discussed in Installing DroneKit.

Fetch and build DroneKit source

  1. Fork the dronekit-python project on Github.

  2. Open the WinPython Command Prompt. Run the following commands to clone and build DroneKit (in the directory of your choice):

    git clone<your_fork_of_dronekit>/dronekit-python.git
    cd dronekit-python
    python build
    python install

Updating DroneKit

Navigate to your local git fork, pull the latest version, and rebuild/install:

cd <path-to-your-dronekit-fork>/dronekit-python
git pull
python build
python install