Skip to content

Commit

Permalink
Update README.md to add alternatives for Norminette installation (#487)
Browse files Browse the repository at this point in the history
* Add installation alternatives

I added installation alternatives due to possible PEP 668 error

* Add python3-setuptools installation
  • Loading branch information
SrVariable authored Feb 7, 2024
1 parent e0ad992 commit 86aa2c5
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,25 @@ python3 -m pip install --upgrade pip setuptools
python3 -m pip install norminette
```

Install using pipx.
```shell
sudo apt update
sudo apt install python3-setuptools
sudo apt install pipx
pipx install norminette
pipx ensurepath
```

Install using a virtual environment.
```shell
python3 -m venv $HOME/.venv
source $HOME/.venv/bin/activate
python3 -m pip install --upgrade pip setuptools
python3 -m pip install norminette
echo "export PATH=\$PATH:$HOME/.venv/bin" >> $HOME/.${SHELL##/bin/}rc
deactivate
```

To upgrade an existing install, use
```shell
python3 -m pip install --upgrade norminette
Expand Down

0 comments on commit 86aa2c5

Please sign in to comment.