This change to setup.py first searches for the lrelease binary in the
directory specified by the BinariesPath value retrieved from
QLibraryInfo. If such a file exists, it will be used; otherwise, the
existing PATH-based search is used to try to find lrelease.
Early this week, GitHub user xX-Yoshi-Xx informed me that there was an
issue installing using my last commit. This was due to the script trying
to import a module from `src/m64py` before it was added to the path. So
I fixed that just by moving the import down a few lines.
I also rewrote the README in reStructuredText, since this is the
default Python markup format. I added some new content on using the
`requirements.txt`` file to install the Python dependencies as well as a
few other notes. I also did a few smaller things like making the
Changelog file in all caps like the other files.
Earlier today I got a warning from Pip saying that ability to uninstall
programs that were installed using the Distutils module is going to be
depricated. So I decided to update everything over to Setuptools, which
is the new Python standard. While doing so, I ran the script through
flake8 and pylint a bit and took care of warnings not dealing with line
length or the lack of docstrings. I also took a bit of creative license
when I felt comfortable doing so to make the script more readable.
There is already an mime type for Nintendo64 roms called application/x-n64-rom.
This one has to be extended instead of installing a conflicting type. Otherwise
only one of the desktop entries for mupen64plus-ui-console or m64py works and
not both.