Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Installing D-Rats 0.4.0
Hello All,
There are two ways to run D-Rats 0.4.0 on Linux / Windows The "setup.py" install method has been deprecated by the python packaging maintainers. It is not going to work for modern python projects, and that includes D-Rats. The only reason there is a setup.py in the distribution is that the Python packaging maintainers have not documented a replacement for building the kit that contains data files in addition to python files. The Windows instructions are at . For Linux, you do not install Msys2 Ming2, but you do need to install the python3 and GTK modules, etc for the Linux distros, the ones for Debian based distributions are listed in the README.md at LZHUF must be installed from /g/d-rats/files/D-Rats or from the github.com/ham-radio-software/lzhuf. Option 1: Clone the D-Rats repository, and run from it. For this option, you need to run the ./build_pot.sh script to rebuild the message catalog. This currently will only help italian speaking users, since that is the only translation that we have. Option 2: Use pip to install the package from /g/d-rats/files/D-Rats Now in the past it has been common practice to have PIP install update the system python, and that has sometimes resulted in corrupting the python installed by the operating system. For a PIP install, you have to either create a virtual environment or you have to specify a "user" library and update the PYTTHONPATH and other environment variables to make it work. 73, -John |
Hello all,
The tarballs at /g/d-rats/files/D-Rats is designed as a PIP installable tarball. Python installer maintainers have deprecated the storage of the additional data that D-Rats stores in the its library directories. Their feeling is that should be handled by an operating system packaging system, like RPMs or Debian packages, etc. I did a lot of work to create MSI files and Debian packaging for the LZHUF project. I was not able to create packages for Raspbian distributions. Someone familiar with creating RPMs or Debian packaging should be able to work out how to convert the pip installable tarball into a one of those packages. It is just that I just am not going to have the cycles to be creating that type of packaging for D-Rats on Linux at this time, and be able to get anything else done. For msys2, I have found that there are several articles that give instructions on how to create a "embedded" msys2 setup in their WIKI. One of them should be usable. Once it has been determined how to setup one of those environments and then add the PyPi, lzhuf and d-Rats to that environment, the steps for creating a MSI files as was done in the lzhuf project could be used to create a D-Rats MSI file. But all of that still will take a lot of work and time, and for now, the easiest way to run D-Rats is probably to run it from a checkout of a cloned repository. The original D-Rats was supplied as a tarball, and it was community help that expanded it to be a Windows executable package, so running from a cloned checkout is almost going back to a full circle. 73, -John |
to navigate to use esc to dismiss