| 1 |
New version |
| 2 |
----------- |
| 3 |
|
| 4 |
* Update elftools/__init__.py |
| 5 |
* Tag in git (v0.xx) |
| 6 |
|
| 7 |
Preparing a new release |
| 8 |
----------------------- |
| 9 |
|
| 10 |
* Make sure new version was updated everywhere appropriate |
| 11 |
* Run ``uv build`` or ``python3 -m build --sdist --wheel`` |
| 12 |
* Untar the created ``dist/pyelftools-x.y.tar.gz`` and make sure |
| 13 |
everything looks ok |
| 14 |
* Distribute (see below) |
| 15 |
* Tag new version in git |
| 16 |
* Test with ``pip install`` from some new virtualenv |
| 17 |
|
| 18 |
Distribution |
| 19 |
------------ |
| 20 |
|
| 21 |
1. First install Twine (https://packaging.python.org/tutorials/packaging-projects/) |
| 22 |
into a venv, unless already done in ~/bin/venv/... |
| 23 |
2. Run ``uv publish`` or ``python3 -m twine upload dist/*``, but make sure |
| 24 |
package was already built and the updated whl and tarball are in dist/. |
| 25 |
|
| 26 |
Credentials for PyPI are stored in ~/.pypirc |
| 27 |
|
| 28 |
construct |
| 29 |
--------- |
| 30 |
|
| 31 |
construct seems to be maintained again - they also backported my Python 3 fixes. |
| 32 |
Theoretically, I can remove construct from pyelftools and use it as a dependency |
| 33 |
instead. I don't really have time to play with this now, but may do so in the |
| 34 |
future. |