mirror of
https://github.com/meshcore-dev/meshcore-cli.git
synced 2026-04-20 22:13:48 +00:00
rename mclib module to meshcore
This commit is contained in:
parent
2c41011fd3
commit
d33c200b3e
4 changed files with 10 additions and 11 deletions
11
mccli.py
11
mccli.py
|
|
@ -11,12 +11,11 @@ import datetime
|
||||||
import time
|
import time
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
from mclib import TCPConnection
|
from meshcore import TCPConnection
|
||||||
from mclib import BLEConnection
|
from meshcore import BLEConnection
|
||||||
from mclib import SerialConnection
|
from meshcore import SerialConnection
|
||||||
from mclib import printerr
|
from meshcore import printerr
|
||||||
from mclib import MeshCore
|
from meshcore import MeshCore
|
||||||
|
|
||||||
|
|
||||||
# default address is stored in a config file
|
# default address is stored in a config file
|
||||||
MCCLI_CONFIG_DIR = str(Path.home()) + "/.config/mc-cli/"
|
MCCLI_CONFIG_DIR = str(Path.home()) + "/.config/mc-cli/"
|
||||||
|
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
from mclib.mclib import printerr
|
|
||||||
from mclib.mclib import MeshCore
|
|
||||||
from mclib.mclib import TCPConnection
|
|
||||||
from mclib.mclib import BLEConnection
|
|
||||||
from mclib.mclib import SerialConnection
|
|
||||||
5
meshcore/__init__.py
Normal file
5
meshcore/__init__.py
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
from meshcore.mclib import printerr
|
||||||
|
from meshcore.mclib import MeshCore
|
||||||
|
from meshcore.mclib import TCPConnection
|
||||||
|
from meshcore.mclib import BLEConnection
|
||||||
|
from meshcore.mclib import SerialConnection
|
||||||
Loading…
Add table
Add a link
Reference in a new issue