pybgpkit-parser 0.5.0b1__tar.gz → 0.5.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pybgpkit_parser-0.5.0b1 → pybgpkit_parser-0.5.2}/.gitignore +6 -0
- pybgpkit_parser-0.5.2/BUILD.md +30 -0
- pybgpkit_parser-0.5.2/CHANGELOG.md +10 -0
- {pybgpkit_parser-0.5.0b1 → pybgpkit_parser-0.5.2}/Cargo.lock +437 -449
- {pybgpkit_parser-0.5.0b1 → pybgpkit_parser-0.5.2}/Cargo.toml +2 -2
- {pybgpkit_parser-0.5.0b1 → pybgpkit_parser-0.5.2}/Dockerfile +14 -6
- pybgpkit_parser-0.5.2/PKG-INFO +72 -0
- pybgpkit_parser-0.5.2/README.md +61 -0
- pybgpkit_parser-0.5.2/build.sh +19 -0
- {pybgpkit_parser-0.5.0b1 → pybgpkit_parser-0.5.2}/pyproject.toml +1 -1
- pybgpkit_parser-0.5.0b1/PKG-INFO +0 -136
- pybgpkit_parser-0.5.0b1/README.md +0 -125
- pybgpkit_parser-0.5.0b1/build.sh +0 -13
- pybgpkit_parser-0.5.0b1/cache/cache-update-example.1ee59cea +0 -0
- {pybgpkit_parser-0.5.0b1 → pybgpkit_parser-0.5.2}/LICENSE +0 -0
- {pybgpkit_parser-0.5.0b1 → pybgpkit_parser-0.5.2}/build.rs +0 -0
- {pybgpkit_parser-0.5.0b1 → pybgpkit_parser-0.5.2}/src/lib.rs +0 -0
- {pybgpkit_parser-0.5.0b1 → pybgpkit_parser-0.5.2}/test.py +0 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Build and Publish Guide
|
|
2
|
+
|
|
3
|
+
## Pre-requisites
|
|
4
|
+
|
|
5
|
+
- `maturin`
|
|
6
|
+
- `docker`
|
|
7
|
+
- run `docker build . -t bgpkit-builder:latest` to build the builder image
|
|
8
|
+
|
|
9
|
+
## Checklist
|
|
10
|
+
|
|
11
|
+
1. run [`build.sh`](./build.sh) on Apple Silicon Mac
|
|
12
|
+
2. run [`build.sh`](./build.sh) inside docker on Apple Silicon Mac
|
|
13
|
+
3. run [`build.sh`](./build.sh) on Intel Mac
|
|
14
|
+
4. run [`build.sh`](./build.sh) inside docker on Intel Mac
|
|
15
|
+
|
|
16
|
+
## Build Linux packages in Docker
|
|
17
|
+
|
|
18
|
+
Build image using the [Dockerfile](./Dockerfile) provided
|
|
19
|
+
```
|
|
20
|
+
docker build -t bgpkit-builder:latest .
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Run `docker run --rm -it bgpkit-builder:latest bash` to open a shell in the container
|
|
24
|
+
```bash
|
|
25
|
+
####
|
|
26
|
+
# TODO: copy the content of .pypirc to the root folder
|
|
27
|
+
####
|
|
28
|
+
|
|
29
|
+
bash build.sh
|
|
30
|
+
```
|