aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 254e4be6f4201ce5a4e7d58d1a15d549dc9347e7 (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
# 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 with some syntax fixes that seem to be leftover from Python2.

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)

## Testing

For a list of supported radios (tested and untested) see [RADIOS.md](https://github.com/mpoletiek/py3-CHIRP/blob/main/RADIOS.md)

Script to start CHIRP.

### Linux & MacOS & Windows
`chirpwx.py`

## 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. 


### 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