Skip to content

Commit

Permalink
Fix build for pypi release
Browse files Browse the repository at this point in the history
Remove wheel as a requirement
  • Loading branch information
Luc1412 committed Aug 30, 2024
1 parent a37b396 commit 40dfb44
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

- name: Install Dependencies and Package
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade pip setuptools
pip install -U -r requirements.txt
pip install -e .[docs]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:

- name: Install Dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade pip setuptools build
- name: Build Project
run: python setup.py sdist
run: python -m build

- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

- name: Install Dependencies and Package
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade pip setuptools
pip install -U -r requirements.txt
pip install -e .[tests]
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:

- name: Install Dependencies and Project
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade pip setuptools
pip install -U -r requirements.txt
pip install -e .[dev]
Expand All @@ -79,7 +79,7 @@ jobs:

- name: Install Dependencies and Project
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade pip setuptools
pip install -U -r requirements.txt
pip install -e .[dev]
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ sphinx-build -b html -j auto -a -n -T -W --keep-going . _build/html
Ensure you have the following dependencies installed in your environment:

```bash
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade pip setuptools
pip install -U -r requirements.txt
pip install -e .[docs]
```

0 comments on commit 40dfb44

Please sign in to comment.