Followup to #112
I think I understand what has happened. I would suggest that the instructions be rewritten and made clearer for the casual user. In the past one extracted a folder called glucometerutils-master and if one read the README which included the section
Example Usage
Most of the drivers require optional dependencies, and those are listed in the
table below. If you do not want to install the dependencies manually, you should
be able to set this up using virtualenv and pip: ...
and if you just installed the dependencies manually and ran setup.py you got a working version of glucometer which you could execute as
glucometer --driver
That README was just copied over into the latest version of glucometerutils-main. But, am I correct that now the only way to install glucometerutils is to use virtualenv?
I would like to know the answer to this as well. I'm a Windows Systems Engineer veteran and am JUST NOW shifting my personal tech life off of the M$ plantation and into everything Linux. I find myself trying to rival my 20+ years of Windows experience with Linux knowledge overnight. Hence, one lesson I learn on the daily is that.... gosh, Linux is different than Windows. XD Anyway point t is, I'm still trying to get acclimated to all this stuff, so installing this utility is a little confusing to me.
I'm familiar with:
git clone url
cd folder
makepkg -si
and that's how to install most things from github (running EndeavourOS GNOME+Wayland). Would it be too much trouble to adjust the README to have the "idiot Windows n00b" steps in there too? Thanks in advance. ;)
Found something by digging a little further right here lol! https://github.com/glucometers-tech/glucometerutils/issues/42#issuecomment-381306511
Pasting additional instructions that were contributed to that thread:
# follow 'glucometerutils' official instruction
$ python3 -m venv $(pwd)/glucometerutils-venv
$ . glucometerutils-venv/bin/activate
# version check
(glucometerutils-venv) $ python --version
Python 3.5.2
# install 'construct'
(glucometerutils-venv) $ pip install construct
# install 'hidapi'
(glucometerutils-venv) $ pip install Cython
(glucometerutils-venv) $ pip install hidapi
# then, follow the rest of 'glucometerutils' official instruction
(glucometerutils-venv) $ DRIVER=fslibre
# NOTE: replace this procedure to @arvchristos's
(glucometerutils-venv) $ pip install "git+https://github.com/Flameeyes/glucometerutils.git#egg=project[${DRIVER}]"
(glucometerutils-venv) $ glucometer --driver ${DRIVER} help
Driver for FreeStyle Libre devices.
Supported features:
- get readings (sensor, flash and blood glucose), including comments;
- get and set date and time;
- get serial number and software version.
Expected device path: /dev/hidraw9 or similar HID device. Optional when using
HIDAPI.
Further information on the device protocol can be found at
https://flameeyes.github.io/glucometer-protocols/abbott/freestyle-libre