Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 912 Bytes

UPDATING.md

File metadata and controls

37 lines (22 loc) · 912 Bytes

How-To Update Bindings When gtfs-realtime.proto Changes

Regenerate the language binding source from gtfs-realtime.proto.

One-Time Setup

  1. Download and install Docker

Every time gtfs-realtime.proto changes

  1. Run the update script:

    ./update_generated_code.sh
    
  2. Add the license header back to the generated source file.

  3. Bump the version number in setup.py.

Publishing a new release

One-Time Setup

  1. Create an account on PyPI that has permissions to publish to the gtfs-realtime-bindings project.

  2. Install twine:

    pip install -U pip setuptools twine

Every release

  1. Build and deploy the package to PyPI - you'll be prompted for your login info from the command-line:
python setup.py sdist
twine upload dist/*