Giter VIP home page Giter VIP logo

west's Introduction

This package contains the Zephyr RTOS meta tool, 'west'.

WARNING

DO NOT INSTALL WITH "python3 setup.py install".

Please use pip to install in development mode as documented below.

Important Note

West is distributed in two pieces:

  1. A bootstrap/wrapper script, which is distributed via PyPI.
  2. The "main" west package and entry points, which are fetched by the bootstrap script.

This somewhat unusual arrangement is because:

  • One of West's jobs is to manage interaction with Zephyr's multiple Git repositories, including its own.
  • West is in its experimental stages and is moving quickly, meaning users need to stay on HEAD.

The default setup.py installs the wrapper script only.

Installation

To install the West bootstrapping/wrapper script from this package in development mode, clone this repository and run this from the top level directory:

$ pip3 install -e .

Then use the wrapper script to initialize a Zephyr installation with:

$ west init your/zephyr/install-dir
$ cd your/zephyr/install-dir
$ west <command>

The west init call will:

  • create your/zephyr/install-dir
  • clone the Zephyr manifest repository (whose URL can be overridden with the -u option, and branch with --mr / --manifest-rev)
  • clone the latest West repository (the URL override is -w, and revision/branch override is --wr / --west-rev)

Running west <command> from :file:`your/zephyr/install-dir` or underneath it will invoke west in "wrapper" mode: any commands other than init will be delegated to the West tree pulled by west init.

This arrangement may seem familiar to Android (platform, not app) developers. The source management features of West were indeed inspired by the Android Repo tool's features, but West makes significant departures from Repo's behavior.

Alternative Usage

If you don't want to change your system outside of cloning this repository, you can also clone West's Git repository and run the package as a module:

$ python3 -m west

Only do this if you know what you're doing (and make sure to install the requirements as specified by the install_requires line in setup.py).

west's People

Contributors

mbolivar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.