From a1ad2d68d43187bab23975b98e0d9288fb657962 Mon Sep 17 00:00:00 2001 From: Moul <moul@moul.re> Date: Sat, 8 Jun 2019 15:10:53 +0200 Subject: [PATCH] [doc] #182: Delete Pipenv documentation --- README.md | 1 - doc/install_pipenv.md | 84 ------------------------------------------- 2 files changed, 85 deletions(-) delete mode 100644 doc/install_pipenv.md diff --git a/README.md b/README.md index 6924d7eb..0a1faf6f 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,6 @@ pip3 install silkaj --user ``` - [Install with Pip](doc/install_pip.md) -- [Install with pipenv](doc/install_pipenv.md) - [Install the Development environment](doc/install_poetry.md) - [Install with the build](doc/install_build.md) - [Install with docker](doc/install_docker.md) diff --git a/doc/install_pipenv.md b/doc/install_pipenv.md deleted file mode 100644 index 1d89c4e2..00000000 --- a/doc/install_pipenv.md +++ /dev/null @@ -1,84 +0,0 @@ -# Install Silkaj with Pipenv - -### Install libsodium - -```bash -sudo apt install libsodium23 # Debian Buster -sudo apt install libsodium18 # Debian Stretch -sudo dnf install libsodium # Fedora -``` - -### Install pipenv - -```bash -sudo apt install pipenv # Debian ≥ Buster -sudo dnf install pipenv # Fedora -``` - -- [Pipenv installation instructions](https://github.com/pypa/pipenv#installation) - -### Retrieve silkaj sources -```bash -git clone https://git.duniter.org/clients/python/silkaj.git -cd silkaj -``` - -### Install with dependencies -```bash -pipenv install "-e ." -``` - -The double quotes are important, if you forget them, `pipenv` will install silkaj from pypi - -### Run silkaj -```bash -pipenv run silkaj -``` - -- You can create shell alias, for instance for Bash, add in the `~/.bashrc`: -```bash -alias silkaj="cd $HOME/silkaj/silkaj && pipenv run silkaj" -``` - -### Activate pipenv shell and run the executable -```bash -pipenv shell -./bin/silkaj -``` - -## Manage Python versions with Pyenv - -If you have trouble with the pipenv install, may be the Python version installed on your system is not up to date. -To install and manage easily multiple Python version, use Pyenv: - -### Install pyenv on your home -```bash -curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash -``` - -Add in `~/.bash_profile`, in `~/.bashrc` on Fedora or Ubuntu: - -```bash -export PATH="$HOME/.pyenv/bin:$PATH" -eval "$(pyenv virtualenv-init -)" -eval "$(pyenv init -)" -export PYENV_ROOT="$HOME/.pyenv" -``` - -Reload your bash config: - - source ~/.bashrc - -or - - source ~/.bash_profile - -### Install Python version required - - pyenv install 3.7.2 - -### Select Python version for the current shell - - pyenv shell 3.7.2 - -Pipenv will search the `Pyenv` Python version chosen before the system version. -- GitLab