Fix for mixed version loclists, tests (#521)
[pyelftools.git] / TODO
diff --git a/TODO b/TODO
old mode 100644 (file)
new mode 100755 (executable)
index bc6ffdc..a597a4e
--- a/TODO
+++ b/TODO
@@ -4,26 +4,32 @@ New version
 * Update elftools/__init__.py
 * Update setup.py
 * Update CHANGES
-* Tag in hg
+* Tag in git (v0.xx)
 
-Distribution
-------------
+construct
+---------
 
-python setup.py build sdist upload
+construct seems to be maintained again - they also backported my Python 3 fixes.
+Theoretically, I can remove construct from pyelftools and use it as a dependency
+instead. I don't really have time to play with this now, but may do so in the
+future.
 
 Preparing a new release
 -----------------------
 
-* Run readelf tests with up-to-date readelf (from the new binutils)
-* Run all tests with Python 2.7 before packaging, on Linux
 * Make sure new version was updated everywhere appropriate
-* Packaging done on Linux
-* Run ``python setup.py build sdist`` (no 'upload' yet)
+* Run ``python3 setup.py build sdist bdist_wheel`` (no 'upload' yet)
 * Untar the created ``dist/pyelftools-x.y.tar.gz`` and make sure
   everything looks ok
-* Runt 'tox' tests (with '-r' to create new venvs)
 * Now build with upload to send it to PyPi
+* Tag new version in git
 * Test with pip install from some new virtualenv
-* If everything is OK, upload the distribution to BitBucket as well
-* The older download can be kept alive for a couple of days
 
+Distribution
+------------
+
+1. First install Twine (https://packaging.python.org/tutorials/packaging-projects/)
+2. python3 -m twine upload dist/*, but make sure ``setup.py`` was already run
+   and the updated whl and tarbal are in dist/.
+
+Credentials for PyPI are stored in ~/.pypirc