Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 797 Bytes

BUILD.md

File metadata and controls

32 lines (23 loc) · 797 Bytes

Build and Publish Guide

Pre-requisites

  • maturin
  • docker
    • run docker build . -t bgpkit-builder:latest to build the builder image

Build and Upload Checklist

  1. run build.sh on Apple Silicon Mac
  2. run build.sh inside docker on Apple Silicon Mac
  3. run build.sh on Intel Mac
  4. run build.sh inside docker on Intel Mac

Then run twine upload --skip-existing target/wheels/* at all machines.

Build Linux packages in Docker

Build image using the Dockerfile provided

docker build -t bgpkit-builder:latest .

Run docker run --rm -it bgpkit-builder:latest bash to open a shell in the container

####
# TODO: copy the content of .pypirc to the root folder
####

bash build.sh