mirror of
https://github.com/meshtastic/python.git
synced 2026-04-18 13:57:00 -04:00
only require pytap if user tries to run 'mesh-tunnel'
This commit is contained in:
10
setup.py
10
setup.py
@@ -12,7 +12,7 @@ with open("README.md", "r") as fh:
|
||||
# This call to setup() does all the work
|
||||
setup(
|
||||
name="meshtastic",
|
||||
version="1.1.26",
|
||||
version="1.1.27",
|
||||
description="Python API & client shell for talking to Meshtastic devices",
|
||||
long_description=long_description,
|
||||
long_description_content_type="text/markdown",
|
||||
@@ -29,11 +29,15 @@ setup(
|
||||
include_package_data=True,
|
||||
install_requires=["pyserial>=3.4", "protobuf>=3.13.0",
|
||||
"pypubsub>=4.0.3", "dotmap>=1.3.14", "pexpect>=4.6.0", "pyqrcode>=1.2.1",
|
||||
"pygatt>=4.0.5", "pytap2>=2.0.0"],
|
||||
"pygatt>=4.0.5"],
|
||||
extras_require={
|
||||
'tunnel': ["pytap2>=2.0.0"]
|
||||
},
|
||||
python_requires='>=3.6',
|
||||
entry_points={
|
||||
"console_scripts": [
|
||||
"meshtastic=meshtastic.__main__:main"
|
||||
"meshtastic=meshtastic.__main__:main",
|
||||
"mesh-tunnel=meshtastic.__main__:tunnelMain [tunnel]"
|
||||
]
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user