Fixes for release process.

This commit is contained in:
Robert Collins 2014-08-24 18:00:49 +12:00
parent 63ea73bf3a
commit 50b2f7c2b6
2 changed files with 5 additions and 3 deletions

6
README
View File

@ -462,9 +462,9 @@ Releases
========
* Update versions in configure.ac and python/subunit/__init__.py.
* Update Makefile in the root or do an inplace configure to get an updated Makefile.
* Update NEWS.
* Make PyPI and regular tarball releases. Upload the regular one to LP, the
PyPI one to PyPI.
* Do a make distcheck, which will update Makefile etc.
* Do a PyPI release: PYTHONPATH=../../python python ../../setup.py sdist upload -s
* Upload the regular one to LP.
* Push a tagged commit.

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
import os.path
try:
# If the user has setuptools / distribute installed, use it
from setuptools import setup
@ -33,6 +34,7 @@ VERSION = (
or "0.0")
os.chdir(os.path.dirname(__file__))
setup(
name='python-subunit',
version=VERSION,