Skip to content

Commit

Permalink
feat: use new pip install
Browse files Browse the repository at this point in the history
  • Loading branch information
Rotzbua authored and florianfesti committed Aug 7, 2024
1 parent 61be937 commit 37b714a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
cache: "pip" # caching pip dependencies
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install .
- name: Build documentation
run: |
cd ./documentation/src/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
cache: "pip" # caching pip dependencies
- run: pip install -r requirements.txt
- run: pip install -r requirements_dev.txt
- run: pip install .
- run: pip install .[dev]
- uses: pre-commit/[email protected]
4 changes: 2 additions & 2 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ Adding new dependencies should be considered thoroughly. If a new
dependency is added it needs to be added in all these places:

If it is a Python module it also needs to be added:
* *requirements.txt* or *requirements_dev.txt*
* *setup.py*

* *requirements.txt* or *requirements_dev.txt*
* *pyproject.toml*
* *documentation/src/install.rst* (unless a Python module)
* RST files in *documentation/src/install/*
* *scripts/Dockerfile*
Expand Down
2 changes: 1 addition & 1 deletion documentation/src/install/windows.rst
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Once wsl is installed, run it and enter the following commands:
- :code:`cd ~`
- :code:`git clone https://github.com/florianfesti/boxes.git`
- :code:`cd ~/boxes`
- :code:`python3 -m pip install -r ~/boxes/requirements.txt`
- :code:`python3 -m pip install .`
- :code:`python3 ~/boxes/scripts/boxesserver`

.. figure:: win11-wsl-boxesserver-localhost.png
Expand Down
2 changes: 1 addition & 1 deletion scripts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN python3 -m venv env
RUN /app/env/bin/pip install gunicorn

ADD https://github.com/florianfesti/boxes.git /app
RUN /app/env/bin/pip install -r requirements.txt
RUN /app/env/bin/pip install .
RUN mv scripts/boxesserver scripts/boxesserver.py

# ---
Expand Down

0 comments on commit 37b714a

Please sign in to comment.