Skip to content

Commit 4833851

Browse files
committed
Make Bluetooth dependencies optional
To install with Bluetooth dependencies, install nxt-python[bluetooth]. You can also install PyBluez yourself. There is sadly still no release of PyBluez for recent Python versions, drop it for now.
1 parent 8766887 commit 4833851

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

setup.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,12 @@ scripts =
3131
python_requires = >=3.8
3232
install_requires =
3333
pyusb >= 1.2.1
34+
35+
[options.extras_require]
36+
bluetooth =
3437
pybluez >= 0.23; platform_system == 'Linux'
3538
pybluez >= 0.23; platform_system == 'Windows'
39+
pybluez >= 0.23; platform_system == 'Darwin'
3640

3741
[flake8]
3842
max-line-length = 88

0 commit comments

Comments
 (0)