Skip to content

Commit 7a237ff

Browse files
author
Martin O'Hanlon
authored
Merge pull request #42 from RaspberryPiFoundation/dev
release 0.0.2
2 parents 4596543 + 2a853d3 commit 7a237ff

File tree

5 files changed

+23
-5
lines changed

5 files changed

+23
-5
lines changed

docs/changelog.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ Change log
33

44
.. currentmodule:: picozero
55

6+
0.0.2 - 2022-03-31
7+
~~~~~~~~~~~~~~~~~~
8+
9+
+ Bug fixes and documentation updates
10+
611
0.0.1 - 2022-03-21
712
~~~~~~~~~~~~~~~~~~
813

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def __getattr__(cls, name):
4545
author = 'Raspberry Pi Foundation'
4646

4747
# The full version, including alpha/beta/rc tags
48-
release = '0.0.0'
48+
release = '0.0.2'
4949

5050

5151
# -- General configuration ---------------------------------------------------

docs/developing.rst

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,22 @@ Instructions on how build and deploy picozero.
66
Build
77
-----
88

9-
1. Run `setup.py` and create a source distribution.:
9+
1. Update version numbers in the ``setup.py``, ``picozero/__init__.py``and ``docs/conf.py`` files.
10+
11+
2. Add release to ``docs/changelog.rst``
12+
13+
3. Run `setup.py` and create a source distribution.:
1014

1115
python3 setup.py sdist
1216

13-
2. Upload to PyPI:
17+
4. Upload to PyPI:
1418

1519
twine upload dist/*
1620

21+
5. Push all change to ``master`` branch
22+
23+
6. Create a release in github and upload picozero-*.tar.gz to the release.
24+
1725
Documentation
1826
-------------
1927

picozero/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
__name__ = "picozero"
2+
__package__ = "picozero"
3+
__version__ = '0.0.2'
4+
__author__ = "Raspberry Pi Foundation"
5+
16
from .picozero import (
27
PWMChannelAlreadyInUse,
38

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
__project__ = 'picozero'
44
__packages__ = ['picozero']
55
__desc__ = 'A beginner-friendly library for using common electronics components with the Raspberry Pi Pico. Not yet for general release.'
6-
__version__ = '0.0.1'
6+
__version__ = '0.0.2'
77
__author__ = "Raspberry Pi Foundation"
88
__author_email__ = '[email protected]'
99
__license__ = 'MIT'
@@ -38,7 +38,7 @@
3838
setup(
3939
name=__project__,
4040
version=__version__,
41-
description=__version__,
41+
description=__desc__,
4242
long_description=__long_description__,
4343
long_description_content_type='text/markdown',
4444
url=__url__,

0 commit comments

Comments
 (0)