Skip to content

Commit

Permalink
Merge branch 'main' of github.com:viodotcom/jyafn
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Arruda committed Jul 15, 2024
2 parents 84c5815 + 764a42f commit 45b4bec
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions docs/the-jyafn-starter-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 45b4bec

Please sign in to comment.