Skip to content

Commit

Permalink
Merge pull request #42 from RaspberryPiFoundation/dev
Browse files Browse the repository at this point in the history
release 0.0.2
  • Loading branch information
Martin O'Hanlon authored Mar 31, 2022
2 parents 4596543 + 2a853d3 commit 7a237ff
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 5 deletions.
5 changes: 5 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ Change log

.. currentmodule:: picozero

0.0.2 - 2022-03-31
~~~~~~~~~~~~~~~~~~

+ Bug fixes and documentation updates

0.0.1 - 2022-03-21
~~~~~~~~~~~~~~~~~~

Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __getattr__(cls, name):
author = 'Raspberry Pi Foundation'

# The full version, including alpha/beta/rc tags
release = '0.0.0'
release = '0.0.2'


# -- General configuration ---------------------------------------------------
Expand Down
12 changes: 10 additions & 2 deletions docs/developing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,22 @@ Instructions on how build and deploy picozero.
Build
-----

1. Run `setup.py` and create a source distribution.:
1. Update version numbers in the ``setup.py``, ``picozero/__init__.py``and ``docs/conf.py`` files.

2. Add release to ``docs/changelog.rst``

3. Run `setup.py` and create a source distribution.:

python3 setup.py sdist

2. Upload to PyPI:
4. Upload to PyPI:

twine upload dist/*

5. Push all change to ``master`` branch

6. Create a release in github and upload picozero-*.tar.gz to the release.
Documentation
-------------

Expand Down
5 changes: 5 additions & 0 deletions picozero/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
__name__ = "picozero"
__package__ = "picozero"
__version__ = '0.0.2'
__author__ = "Raspberry Pi Foundation"

from .picozero import (
PWMChannelAlreadyInUse,

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
__project__ = 'picozero'
__packages__ = ['picozero']
__desc__ = 'A beginner-friendly library for using common electronics components with the Raspberry Pi Pico. Not yet for general release.'
__version__ = '0.0.1'
__version__ = '0.0.2'
__author__ = "Raspberry Pi Foundation"
__author_email__ = 'learning@raspberrypi.org'
__license__ = 'MIT'
Expand Down Expand Up @@ -38,7 +38,7 @@
setup(
name=__project__,
version=__version__,
description=__version__,
description=__desc__,
long_description=__long_description__,
long_description_content_type='text/markdown',
url=__url__,
Expand Down

0 comments on commit 7a237ff

Please sign in to comment.