Skip to content

Commit a3f1b50

Browse files
committed
fix setup.py not found utils folder
1 parent 64bb2b0 commit a3f1b50

File tree

3 files changed

+42
-3
lines changed

3 files changed

+42
-3
lines changed

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='PyserSSH',
5-
version='5.1.1',
5+
version='5.1.2',
66
license='MIT',
77
author='DPSoftware Foundation',
88
author_email='[email protected]',
@@ -37,7 +37,8 @@
3737
"keyboard",
3838
"Brotli",
3939
"pillow",
40-
"numpy"
40+
"numpy",
41+
"opencv-python"
4142
],
4243
}
4344
)

src/PyserSSH/system/ProWrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
SOFTWARE.
2626
"""
2727

28-
import serial
28+
#import serial
2929
import socket
3030
import paramiko
3131
from abc import ABC, abstractmethod

src/PyserSSH/utils/__init__.py

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
"""
2+
PyserSSH - A Scriptable SSH server. For more info visit https://github.com/DPSoftware-Foundation/PyserSSH
3+
Copyright (C) 2023-present DPSoftware Foundation (MIT)
4+
5+
Visit https://github.com/DPSoftware-Foundation/PyserSSH
6+
7+
MIT License
8+
9+
Permission is hereby granted, free of charge, to any person obtaining a copy
10+
of this software and associated documentation files (the "Software"), to deal
11+
in the Software without restriction, including without limitation the rights
12+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13+
copies of the Software, and to permit persons to whom the Software is
14+
furnished to do so, subject to the following conditions:
15+
16+
The above copyright notice and this permission notice shall be included in all
17+
copies or substantial portions of the Software.
18+
19+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25+
SOFTWARE.
26+
"""
27+
28+
"""
29+
note
30+
31+
ansi cursor arrow
32+
up - \x1b[A
33+
down - \x1b[B
34+
left - \x1b[D
35+
right - \x1b[C
36+
37+
https://en.wikipedia.org/wiki/ANSI_escape_code
38+
"""

0 commit comments

Comments
 (0)