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 9028044..a597a4e
--- a/TODO
+++ b/TODO
@@ -9,24 +9,27 @@ New version
 construct
 ---------
 
-The 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.
-
-Distribution
-------------
-
-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 'tox' tests (with '-r' to create new venvs)
 * Make sure new version was updated everywhere appropriate
-* 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
 * Now build with upload to send it to PyPi
+* Tag new version in git
 * Test with pip install from some new virtualenv
-* 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