Hi Luis,
are you already working on getting the executable in $HOME/.local/bin/
working or would that help to contribute on it?
Thought of updating the Ansible playbooks for this and I would prefer to
use that executable (and a virtual env of course)
I like already that it only needs pip instead of multiple packages being
different for each OS.
Best
Gerald
On 18.09.23 22:03, Luis Falcon wrote:
Dear developers
I have uploaded the latest alpha version for the upcoming MyGNUHealth
2.0 to testpypi.
You could install locally the application with the following command:
For general systems (FreeBSD / Arch.. ) this should install the latest
development version:
pip install --upgrade --user --pre --index-url
https://test.pypi.org/simple --extra-index-url https://pypi.org/simple
mygnuhealth
If in Debian based systems you can invoke the installation with:
pip install --break-system-package --upgrade --user --pre --index-url
https://test.pypi.org/simple --extra-index-url https://pypi.org/simple
mygnuhealth
MyGH 2.0 is based on the Kivy framework. A lot of work has been put to
refactor from 1.x (based on Kirigami). This new framework should allow
us to run it in any major platform (BSD, GNU/Linux, Android, MacOS,..),
both mobile and desktop.
When installing MyGH locally from testpypi on a desktop system, check
on $HOME/.local/lib/python3.xxx/site-packages/mygnuhealth
So, if your python version is 3.9, after installing MyGH from pypi, you
can invoke it like this:
cd .local/lib/python3.9/site-packages/mygnuhealth
python ./main.py
If using sources, you'll need to setup the PYTHONPATH to find the
mygnuhealth modules.
We need to update the documentation, and some details, but the core is
there . Please test and report back
PS: The new location for configuration and DBs *NIX systems is
$HOME/.config/mygnuhealth :)
All the best
Luis