diff --git a/README.md b/README.md index af9902a..c22876c 100644 --- a/README.md +++ b/README.md @@ -1369,6 +1369,24 @@ Podemos probar que todo funciona con: `pyenv install -l` Una vez instalado hay que estudiarse [la referencia de comandos](https://github.com/pyenv/pyenv/blob/master/COMMANDS.md) +### poetry + +Instalamos con: + +``` bash +curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3 - +``` + +Dejamos la activación solo en el fichero `~ /.profile`, añadiendo las +siguientes lineas: + +``` bash +# poetry +if [ -d "$HOME/.poetry"] ; then + PATH="$HOME/.poetry/bin:$PATH" +fi +``` + ## neovim Vamos a probar *neovim*, ahora mismo la versión de los repos de Ubuntu diff --git a/out/LinuxMintUlyana.dw b/out/LinuxMintUlyana.dw index 47d8599..8a518a5 100644 --- a/out/LinuxMintUlyana.dw +++ b/out/LinuxMintUlyana.dw @@ -1217,6 +1217,23 @@ Podemos probar que todo funciona con: ''%%pyenv install -l%%'' Una vez instalado hay que estudiarse [[https://github.com/pyenv/pyenv/blob/master/COMMANDS.md|la referencia de comandos]] +==== poetry ==== + +Instalamos con: + + +curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3 - + + +Dejamos la activación solo en el fichero ''%%~ /.profile%%'', añadiendo las siguientes lineas: + + +# poetry +if [ -d "$HOME/.poetry"] ; then + PATH="$HOME/.poetry/bin:$PATH" +fi + + ===== neovim ===== Vamos a probar //neovim//, ahora mismo la versión de los repos de Ubuntu está actualizada a la penúltima versión (0.4.3). También podemos descargar el appimage desde [[https://github.com/neovim/neovim/releases|la página web]] diff --git a/out/LinuxMintUlyana.epub b/out/LinuxMintUlyana.epub index a47f612..862b01c 100644 Binary files a/out/LinuxMintUlyana.epub and b/out/LinuxMintUlyana.epub differ diff --git a/out/LinuxMintUlyana.mw b/out/LinuxMintUlyana.mw index 8e9aa63..c9591f9 100644 --- a/out/LinuxMintUlyana.mw +++ b/out/LinuxMintUlyana.mw @@ -983,6 +983,17 @@ Podemos probar que todo funciona con: pyenv install -l Una vez instalado hay que estudiarse [https://github.com/pyenv/pyenv/blob/master/COMMANDS.md la referencia de comandos] +=== poetry === + +Instalamos con: + +curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3 - +Dejamos la activación solo en el fichero ~ /.profile, añadiendo las siguientes lineas: + +# poetry +if [ -d "$HOME/.poetry"] ; then + PATH="$HOME/.poetry/bin:$PATH" +fi == neovim == Vamos a probar ''neovim'', ahora mismo la versión de los repos de Ubuntu está actualizada a la penúltima versión (0.4.3). También podemos descargar el appimage desde [https://github.com/neovim/neovim/releases la página web] diff --git a/out/LinuxMintUlyana.odt b/out/LinuxMintUlyana.odt index 8e4a8f3..b0bd272 100644 Binary files a/out/LinuxMintUlyana.odt and b/out/LinuxMintUlyana.odt differ diff --git a/out/LinuxMintUlyana.pdf b/out/LinuxMintUlyana.pdf index 032a608..9d64a3e 100644 Binary files a/out/LinuxMintUlyana.pdf and b/out/LinuxMintUlyana.pdf differ diff --git a/out/LinuxMintUlyana.tex b/out/LinuxMintUlyana.tex index 7a99129..af30d83 100644 --- a/out/LinuxMintUlyana.tex +++ b/out/LinuxMintUlyana.tex @@ -1844,6 +1844,29 @@ Una vez instalado hay que estudiarse \href{https://github.com/pyenv/pyenv/blob/master/COMMANDS.md}{la referencia de comandos} +\hypertarget{poetry}{% +\subsubsection{poetry}\label{poetry}} + +Instalamos con: + +\begin{Shaded} +\begin{Highlighting}[] +\ExtensionTok{curl} \AttributeTok{{-}sSL}\NormalTok{ https://raw.githubusercontent.com/python{-}poetry/poetry/master/get{-}poetry.py }\KeywordTok{|} \ExtensionTok{python3} \AttributeTok{{-}} +\end{Highlighting} +\end{Shaded} + +Dejamos la activación solo en el fichero +\texttt{\textasciitilde{}\ /.profile}, añadiendo las siguientes lineas: + +\begin{Shaded} +\begin{Highlighting}[] +\CommentTok{\# poetry} +\ControlFlowTok{if} \BuiltInTok{[} \OtherTok{{-}d} \StringTok{"}\VariableTok{$HOME}\StringTok{/.poetry"}\NormalTok{] }\ErrorTok{;} \ErrorTok{then} + \VariableTok{PATH=}\StringTok{"}\VariableTok{$HOME}\StringTok{/.poetry/bin:}\VariableTok{$PATH}\StringTok{"} +\ControlFlowTok{fi} +\end{Highlighting} +\end{Shaded} + \hypertarget{neovim}{% \subsection{neovim}\label{neovim}} diff --git a/src/400_swdev.md b/src/400_swdev.md index 91c7c54..a93b223 100644 --- a/src/400_swdev.md +++ b/src/400_swdev.md @@ -416,6 +416,23 @@ Podemos probar que todo funciona con: `pyenv install -l` Una vez instalado hay que estudiarse [la referencia de comandos](https://github.com/pyenv/pyenv/blob/master/COMMANDS.md) +### poetry + +Instalamos con: + +```bash +curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3 - +``` + +Dejamos la activación solo en el fichero `~ /.profile`, añadiendo las siguientes lineas: + +```bash +# poetry +if [ -d "$HOME/.poetry"] ; then + PATH="$HOME/.poetry/bin:$PATH" +fi +``` + ## neovim