Commit 8c89d56
committed
Update instructions for publishing releases of the Python runtime
* Added instructions on how to install the tools needed to build and
publish the Python runtime.
* Fixed formatting of __version__ variable name (the double underscores
were previously recognized as Asciidoc italics syntax).
* Added step for deleting old built distributions before building new
ones, so that files left over from previous builds can't be uploaded
by accident.
* Added build of wheel in addition to source distribution to the build
step (see kaitai-io/kaitai_struct_python_runtime#25).
* Added `twine check` step to perform basic checks on the distributions
before uploading.
* Changed upload instructions from the deprecated `setup.py upload`
command to the now recommended `twine upload`.
* Updated instructions for providing credentials when uploading. They
now no longer need to be stored in an insecure plain text file.
* Updated PyPI URLs.
* Changed `git push` command so that only the just created tag is
pushed, and not any other tags that might exist locally.1 parent 88dbd58 commit 8c89d56
1 file changed
+28
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
229 | 234 | | |
230 | | - | |
| 235 | + | |
231 | 236 | | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
240 | 258 | | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | 259 | | |
248 | 260 | | |
249 | 261 | | |
| |||
0 commit comments