File tree Expand file tree Collapse file tree 7 files changed +8
-58
lines changed Expand file tree Collapse file tree 7 files changed +8
-58
lines changed Original file line number Diff line number Diff line change 3
3
4
4
The following modules are callable from ``python-can ``.
5
5
6
- They can be called for example by ``python -m can.logger `` or ``can_logger.py `` (if installed using pip).
6
+ They can be called for example by ``python -m can.logger `` or ``can_logger `` (if installed using pip).
7
7
8
8
can.logger
9
9
----------
Original file line number Diff line number Diff line change @@ -45,10 +45,10 @@ classifiers = [
45
45
]
46
46
47
47
[project .scripts ]
48
- " can_logconvert.py" = " scripts.can_logconvert :main"
49
- " can_logger.py" = " scripts.can_logger :main"
50
- " can_player.py" = " scripts.can_player :main"
51
- " can_viewer.py" = " scripts.can_viewer :main"
48
+ can_logconvert = " can.logconvert :main"
49
+ can_logger = " can.logger :main"
50
+ can_player = " can.player :main"
51
+ can_viewer = " can.viewer :main"
52
52
53
53
[project .urls ]
54
54
homepage = " https://github.com/hardbyte/python-can"
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -74,10 +74,8 @@ class TestLoggerScript(CanScriptTest):
74
74
def _commands (self ):
75
75
commands = [
76
76
"python -m can.logger --help" ,
77
- "python scripts/ can_logger.py --help" ,
77
+ "can_logger --help" ,
78
78
]
79
- if IS_UNIX :
80
- commands += ["can_logger.py --help" ]
81
79
return commands
82
80
83
81
def _import (self ):
@@ -90,10 +88,8 @@ class TestPlayerScript(CanScriptTest):
90
88
def _commands (self ):
91
89
commands = [
92
90
"python -m can.player --help" ,
93
- "python scripts/ can_player.py --help" ,
91
+ "can_player --help" ,
94
92
]
95
- if IS_UNIX :
96
- commands += ["can_player.py --help" ]
97
93
return commands
98
94
99
95
def _import (self ):
@@ -106,10 +102,8 @@ class TestLogconvertScript(CanScriptTest):
106
102
def _commands (self ):
107
103
commands = [
108
104
"python -m can.logconvert --help" ,
109
- "python scripts/ can_logconvert.py --help" ,
105
+ "can_logconvert --help" ,
110
106
]
111
- if IS_UNIX :
112
- commands += ["can_logconvert.py --help" ]
113
107
return commands
114
108
115
109
def _import (self ):
You can’t perform that action at this time.
0 commit comments