blob: f2482587cd8889837e7e40085116aad8b50fd716 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# py3-CHIRP
A fork of CHIRP for testing with Python 3.
## What's Different?
The official CHIRP project's main branch does not support Python 3 and depends on pygtk which hasn't seen a stable release since April 2011.
py3-CHIRP is a fork of the py3 branch of the official [CHIRP project](https://chirp.danplanet.com/projects/chirp/wiki/Home).
py3-CHIRP will use the wxPython GUI toolkit. Code using the Gtk GUI will be migrated.
## Dependencies
py3-CHIRP has been tested in Python3.9 on various platforms. Known dependencies that don't come out of the box with Python are as follows:
- pyserial
- wxPython
- future
- six
- pypiwin32 (for Windows)
- pyGObject (For the time being)
- libpython-dev (For Ubuntu users)
## Testing
For a list of supported radios (tested and untested) see [RADIOS.md](https://github.com/mpoletiek/py3-CHIRP/blob/main/RADIOS.md)
### Running py3-CHIRP
`chirpwx.py`
**DO NOT USE** `chirpw`
## REFERENCE
### Wiki
- [GitHub](https://github.com/mpoletiek/py3-CHIRP/wiki)
### Repo Source (Forked From)
- Mercurial Repository: http://d-rats.com/hg/chirp.hg
- Revision: py3
- Number: 3351:68534f20c141
### Bugs and Patches Submitted to Official Project
- https://chirp.danplanet.com/issues/8475 - Fixed old Python2 Syntax
- https://chirp.danplanet.com/issues/8545 - Syntax Errors in Driver Files
- https://chirp.danplanet.com/issues/8549 - Updated `string.uppercase` to `string.ascii_uppercase`
### Related Bugs in Gentoo
- https://bugs.gentoo.org/708304 - Removed CHIRP from Portage
## The Story
When I first started using Gentoo again CHIRP was still a part of the main Gentoo Portage Repository.
Eventually Gentoo began migrating away from Python2 and due to a lack of movement in the official project it was removed from the official Gentoo repository.
I still needed to configure my radios and maintain an up to date Gentoo desktop so I cloned the py3 branch from the official CHIRP project and fixed a few syntax errors leftover from Python2 and everything worked great.
I was able to download an image from my BF-F8HP, fully reconfigure it and upload the new image back to my radio.
After this initial test I started bugging the developers maillinglist of the main project for more information. A few individuals reached out offering help and asking me to share what I had. So, this repo was born.
|