4 * Update elftools/__init__.py
12 construct seems to be maintained again - they also backported my Python 3 fixes.
13 Theoretically, I can remove construct from pyelftools and use it as a dependency
14 instead. I don't really have time to play with this now, but may do so in the
17 Preparing a new release
18 -----------------------
20 * Make sure new version was updated everywhere appropriate
21 * Run ``python3 setup.py build sdist bdist_wheel`` (no 'upload' yet)
22 * Untar the created ``dist/pyelftools-x.y.tar.gz`` and make sure
24 * Now build with upload to send it to PyPi
25 * Tag new version in git
26 * Test with pip install from some new virtualenv
31 1. First install Twine (https://packaging.python.org/tutorials/packaging-projects/)
32 2. python3 -m twine upload dist/*, but make sure ``setup.py`` was already run
33 and the updated whl and tarbal are in dist/.
35 Credentials for PyPI are stored in ~/.pypirc