Closed mdxs closed 1 year ago
Actually found that the following works fine:
$ pip install ~/dev/gh/blatann/dist/blatann-0.5.0-py3-none-any.whl
Processing /home/mdxs/dev/gh/blatann/dist/blatann-0.5.0-py3-none-any.whl
Requirement already satisfied: pc-ble-driver-py>=0.13 in /home/mdxs/.virtualenvs/ksc-axa-fts/lib/python3.10/site-packages (from blatann==0.5.0) (0.17.0)
Requirement already satisfied: cryptography in /home/mdxs/.virtualenvs/ksc-axa-fts/lib/python3.10/site-packages (from blatann==0.5.0) (41.0.5)
Requirement already satisfied: pytz in /home/mdxs/.virtualenvs/ksc-axa-fts/lib/python3.10/site-packages (from blatann==0.5.0) (2023.3.post1)
Requirement already satisfied: wrapt in /home/mdxs/.virtualenvs/ksc-axa-fts/lib/python3.10/site-packages (from pc-ble-driver-py>=0.13->blatann==0.5.0) (1.15.0)
Requirement already satisfied: cffi>=1.12 in /home/mdxs/.virtualenvs/ksc-axa-fts/lib/python3.10/site-packages (from cryptography->blatann==0.5.0) (1.16.0)
Requirement already satisfied: pycparser in /home/mdxs/.virtualenvs/ksc-axa-fts/lib/python3.10/site-packages (from cffi>=1.12->cryptography->blatann==0.5.0) (2.21)
Installing collected packages: blatann
Successfully installed blatann-0.5.0
So closing this issue, as I probably don't know about the build process ;-)
As there are new features in the code repository after the Blatann v0.5.0 release, I've made a local build/dist (using make) and then tried to install that in another virtual environment on Linux; in my case Xubuntu 22.04.3 LTS Desktop amd64 (64-bit) within a VMware Guest.
However, I got the following error:
Pointing at: https://github.com/ThomasGerstenberg/blatann/blob/8cf44c01c577e7b9fc6c92c3021bf6735c0660dd/setup.py#L13
That I read has the intention to ensure that
requirements.txt
is reflected in thesetup.py
dynamically.However, that doesn't work when trying to install from the
dist/blatann-0.5.0.tar.gz
directly, as shown above.