Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Followup to #112 #113

Open
richardquint opened this issue Sep 24, 2021 · 2 comments
Open

Followup to #112 #113

richardquint opened this issue Sep 24, 2021 · 2 comments

Comments

@richardquint
Copy link

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 dump > Readings

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?

@TrazhCant
Copy link

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. ;)

@TrazhCant
Copy link

Found something by digging a little further right here lol! #42 (comment)

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants