Use find_packages to find subpackages.

This commit is contained in:
Scott Shawcroft 2020-01-21 10:54:56 -08:00
parent 656e50348a
commit 4fb04ed48d
No known key found for this signature in database
GPG key ID: 9349BC7E64B1921E

View file

@ -55,9 +55,5 @@ setup(
# What does your project relate to?
keywords='adafruit blinka circuitpython micropython ble bluetooth',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
# TODO: IF LIBRARY FILES ARE A PACKAGE FOLDER,
# CHANGE `py_modules=['...']` TO `packages=['...']`
packages=['adafruit_ble'],
packages=find_packages(include=["adafruit_ble.*"]),
)