Skip to content

Commit

Permalink
Update installation instructions for steam deck
Browse files Browse the repository at this point in the history
Steam Deck recently updated to Python 3.11 which gives pip restrictions
around managing packages outside of a virtual environment.

Installation now requires passing --break-system-packages to pip when
not using a virtualenv. Add this to instructions.
  • Loading branch information
cyberrumor committed Jan 26, 2024
1 parent c8a62ca commit c2282de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ A Simple Terminal-Based Mod Organizer for Linux
Steam Deck users:

```sh
python -m ensurepip --upgrade
python -m pip install --upgrade pip
python -m ensurepip --user --break-system-packages --upgrade
python -m pip install --user --break-system-packages --upgrade pip
```

Everyone:
Expand All @@ -50,8 +50,8 @@ echo 'PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
PATH="$HOME/.local/bin:$PATH"
git clone https://github.com/cyberrumor/ammo
cd ammo
pip3 install -r requirements.txt || pip3 install --break-system-packages -r requirements.txt
pip3 install . || pip3 install --break-system-packages .
pip3 install --user -r requirements.txt || pip3 install --user --break-system-packages -r requirements.txt
pip3 install --user . || pip3 install --user --break-system-packages .
```

You can now execute ammo with the terminal command `ammo`.
Expand All @@ -61,7 +61,7 @@ You can now execute ammo with the terminal command `ammo`.
```sh
cd /path/to/ammo/clone/dir
git pull
pip3 install --force-reinstall . || pip3 install --break-system-packages --force-reinstall .
pip3 install --user --force-reinstall . || pip3 install --user --break-system-packages --force-reinstall .
```

## Usage Instructions
Expand Down
Empty file modified test/test_fomod_controller_instance.py
100644 → 100755
Empty file.

0 comments on commit c2282de

Please sign in to comment.