From 764a42f1e9d539d79c2a270016815101a35f3025 Mon Sep 17 00:00:00 2001 From: "Pedro B. Arruda" Date: Mon, 15 Jul 2024 15:54:38 -0300 Subject: [PATCH] Update the-jyafn-starter-tutorial.md --- docs/the-jyafn-starter-tutorial.md | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/docs/the-jyafn-starter-tutorial.md b/docs/the-jyafn-starter-tutorial.md index d032247..092eeda 100644 --- a/docs/the-jyafn-starter-tutorial.md +++ b/docs/the-jyafn-starter-tutorial.md @@ -9,18 +9,10 @@ Of course, there are always the boring parts before the fun begins. To get start clone git@github.com:FindHotel/jyafn.git cd jyafn && make install ``` -This will give you the latest and greatest JYAFN, but requires you to have _all_ dev dependencies (more boring stuff, for some). If you want convenience, you can use the `gh` (GitHub CLI) with the following (rather convoluted) command: +This will give you the latest and greatest JYAFN, but requires you to have _all_ dev dependencies (more boring stuff, for some). If you want convenience, you can use the version in PyPI: ```sh -PYTHON=python3 && -PYN=cp3$($PYTHON --version | cut -d . -f2) && \ -V="0.1.0" && \ -LATEST=$(gh release list -R FindHotel/jyafn | head -n1 | awk '{print $1}') && \ -WHEEL=jyafn_python-$V-$PYN-$PYN-manylinux_2_17_x86_64.manylinux2014_x86_64.whl && \ -rm -f $WHEEL && \ -gh release download -R FindHotel/jyafn -p $WHEEL && \ -$PYTHON -m pip install --force-reinstall $WHEEL +pip install jyafn ``` -Remember to substitute for your favorite python version. In the above example (see the first line), we are using `python3`, the system's Python 3. You might substitute that for something more specific, e.g., `python3.11`. To check that everything is working as expected, open your favorite python interpreter and type ```python