Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packaging changes #1029

Merged
merged 4 commits into from
May 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tools/experttune.py → chirp/cli/experttune.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
class BitwiseFrame(icomciv.Frame):
_fmt = ''
_datalen = 0
_querycmd = None
_querycmd: int | None = None

def __init__(self):
super().__init__()
Expand Down
4 changes: 2 additions & 2 deletions chirp/drivers/icomciv.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
class Frame:
"""Base class for an ICF frame"""
_cmd = 0x00
_sub = 0x00
_sub: int | None = 0x00

def __init__(self):
self._data = b""
Expand Down Expand Up @@ -459,7 +459,7 @@ def _detect_baudrate(self):
self._willecho = self._detect_echo()
LOG.debug("Interface echo: %s" % self._willecho)
try:
f = self._get_template_memory()
self._get_template_memory()
LOG.info('Detected %i baud' % baud)
break
except errors.RadioError:
Expand Down
2 changes: 1 addition & 1 deletion chirp/share/model_alias_map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ Marui:
Midland:
- alt: Puxing PX-777
model: CT-210
-My Emergency Radio:
My Emergency Radio:
- alt: TYT TH-UV88
model: MYEMR1
NKTech:
Expand Down
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,16 @@
'pyserial',
'requests',
'yattag',
'suds',
],
extras_require={
'wx': ['wxPython'],
},
entry_points={
'console_scripts': ["chirp=chirp.wxui:chirpmain",
"chirpc=chirp.cli.main:main"],
'console_scripts': [
"chirp=chirp.wxui:chirpmain",
"chirpc=chirp.cli.main:main",
"experttune=chirp.cli.experttune:main",
],
},
)
1 change: 0 additions & 1 deletion tools/cpep8.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
./chirp/drivers/gmrsv2.py
./chirp/drivers/h777.py
./chirp/drivers/icf.py
./chirp/drivers/icomciv.py
./chirp/drivers/iradio_uv_5118.py
./chirp/drivers/kenwood_live.py
./chirp/drivers/kg935g.py
Expand Down
Loading