by bsdz · 5y ago · 0 comments
(The pip command I just gave should only install the core library and so only depends on base python).
docker run -it --rm debian:10-slim /bin/bash
apt update
apt install -y git python3-pip --no-install-recommends
pip3 install git+https://github.com/bsdz/calcengine.git#master
Result: "This package requires Rust >=1.41.0." docker run -it --rm python:latest /bin/bash
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
cd /tmp
git clone https://github.com/bsdz/calcengine.git
cd calcengine
python3 -mvenv --prompt calceng .venv
. ./.venv/bin/activate
pip install "cppy>=1.1.0"
~/.poetry/bin/poetry install -E demo
Note that I had to force cppy to install using pip. At some point I'll refresh the poetry lock file to fix these glitches that seem to appear as an untouched project ages. $ grep name poetry.lock | cut -d" " -f3 | tr -d '"' | tr '\n' ', '
appdirs,attrs,black,click,cycler,flake8,kiwisolver,matplotlib,mccabe,
mypy,mypy-extensions,numpy,pandas,pathspec,pillow,pycodestyle,pyflakes,
pyparsing,pyqt5,pyqt5-sip,python-dateutil,pytz,regex,six,toml,typed-ast,
typing-extensionsIndeed, on Python 3.9 it doesn't install, as it requires Python 3.8.
I'd like to try this, how to proceed?