You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting with PEP 621, `pyproject.toml` is the standard way of
specifying project metadata.
Also switch to using the version from `pyproject.toml` instead of having
a west.version python module. Adjust documentation for the same.
Update MAINTAINERS.rst to use build for dist building.
Signed-off-by: Ayush Singh <ayush@beagleboard.org>
Copy file name to clipboardexpand all lines: MAINTAINERS.rst
+7-4
Original file line number
Diff line number
Diff line change
@@ -66,8 +66,8 @@ Pre-release test plan
66
66
67
67
7. Assuming that all went well (if it didn't, go fix it and repeat):
68
68
69
-
- update __version__ to 'X.Y.Z' (i.e. drop the 'aN' suffix that denotes
70
-
alpha N)
69
+
- update version in pyproject.toml to 'X.Y.Z' (i.e. drop the 'aN' suffix
70
+
that denotes alpha N)
71
71
72
72
- tag the release on GitHub (see "Tagging the release" for a procedure)
73
73
@@ -88,12 +88,15 @@ Building and uploading the release wheels
88
88
You need the zephyr-project PyPI credentials for the 'twine upload' command. ::
89
89
90
90
git clean -ffdx
91
-
python3 setup.py sdist bdist_wheel
91
+
pip3 install --upgrade build twine
92
+
pyproject-build
92
93
twine upload -u zephyr-project dist/*
93
94
94
95
The 'git clean' step is important. We've anecdotally observed broken wheels
95
96
being generated from dirty repositories.
96
97
98
+
Check out [packaging.python.org](https://packaging.python.org/en/latest/tutorials/packaging-projects/#generating-distribution-archives) for more detailed instructions.
99
+
97
100
Tagging the release
98
101
-------------------
99
102
@@ -158,7 +161,7 @@ Summary of what happens:
158
161
3. In vX.Y-branch, in src/west/version.py, set __version__ to X.Y.0a1.
159
162
Push this to origin/vX.Y-branch. You don't need a PR for this.
160
163
161
-
4. In the main branch, set __version__ to X.Y.99.
164
+
4. In the main branch, set version in pyproject.toml to X.Y.99.
162
165
Push this to origin/main. You don't need a PR for this.
163
166
164
167
5. Create an annotated tag vX.Y.99 which points to the main branch commit you
0 commit comments