- Update HISTORY.rst
- Update version number in
my_project/__init__.py - Update version number in
setup.py - Install the package again for local development, but with the new version number:
python setup.py develop
- Run the tests:
python setup.py test
| class GzipBuffer(object): | |
| def __init__(self): | |
| self.len = 0 | |
| self.buffer = io.BytesIO() | |
| self.writer = gzip.GzipFile(fileobj=self.buffer, mode='wb') | |
| def append(self, thing): | |
| self.len += 1 | |
| self.writer.write(thing) |
my_project/__init__.pysetup.pypython setup.py develop
python setup.py test