Skip to content

Commit 3726c8e

Browse files
authored
Merge pull request #2 from dhalbert/fix-names
incorrect module names in several places, including for PyPi
2 parents 0c8398f + b8ea9a1 commit 3726c8e

File tree

5 files changed

+13
-8
lines changed

5 files changed

+13
-8
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
awk -F '\/' '{ print tolower($2) }' |
1919
tr '_' '-'
2020
)
21-
- name: Set up Python 3.6
21+
- name: Set up Python 3.7
2222
uses: actions/setup-python@v1
2323
with:
24-
python-version: 3.6
24+
python-version: 3.7
2525
- name: Versions
2626
run: |
2727
python3 --version

adafruit_ble_berrymed_pulse_oximeter/adafruit_ble_transparent_uart.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2222
# THE SOFTWARE.
2323
"""
24-
`nordic`
25-
====================================================
24+
`adafruit_ble_berrymed_pulse_oximeter.adafruit_ble_transparent_uart`
25+
=============================================================================
2626
2727
This module provides Services used by MicroChip
2828

docs/api.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:py:mod:`~adafruit_ble_berrymed_pulse_oximeter`
2+
===============================================
13

24
.. If you created a package, create one automodule per module in the package.
35
@@ -6,3 +8,6 @@
68
79
.. automodule:: adafruit_ble_berrymed_pulse_oximeter
810
:members:
11+
12+
.. automodule:: adafruit_ble_berrymed_pulse_oximeter.adafruit_ble_transparent_uart
13+
:members:

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# Uncomment the below if you use native CircuitPython modules such as
2222
# digitalio, micropython and busio. List the modules you use. Without it, the
2323
# autodoc module docs will fail to generate with a warning.
24-
# autodoc_mock_imports = ["digitalio", "busio"]
24+
autodoc_mock_imports = ["bleak"]
2525

2626

2727
intersphinx_mapping = {

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
long_description = f.read()
1919

2020
setup(
21-
name="adafruit-circuitpython-ble-pulse-oximeter",
21+
name="adafruit-circuitpython-ble-berrymed-pulse-oximeter",
2222
use_scm_version=True,
2323
setup_requires=["setuptools_scm"],
2424
description="BLE Support for BerryMed Pulse Oximeter Service",
@@ -44,10 +44,10 @@
4444
"Programming Language :: Python :: 3.5",
4545
],
4646
# What does your project relate to?
47-
keywords="adafruit blinka circuitpython micropython ble_contec_pulse_oximeter ble pulse oximeter berrymed spo2",
47+
keywords="adafruit blinka circuitpython micropython ble_berrymed_pulse_oximeter ble pulse oximeter berrymed spo2",
4848
# You can just specify the packages manually here if your project is
4949
# simple. Or you can use find_packages().
5050
# TODO: IF LIBRARY FILES ARE A PACKAGE FOLDER,
5151
# CHANGE `py_modules=['...']` TO `packages=['...']`
52-
py_modules=["adafruit_ble_contec_pulse_oximeter"],
52+
packages=["adafruit_ble_berrymed_pulse_oximeter"],
5353
)

0 commit comments

Comments
 (0)