Skip to content

Commit

Permalink
fix: remove explicit installation of setuptools (#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Dec 29, 2024
1 parent a61df70 commit e476778
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node-gyp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Install Python dependencies
run: |
cd gyp-next
python -m pip install --upgrade pip setuptools
python -m pip install --upgrade pip
pip install --editable .
pip uninstall -y gyp-next
- name: Install Node.js dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: seanmiddleditch/gha-setup-ninja@v5
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
python -m pip install --upgrade pip
pip install --editable ".[dev]"
- run: ./gyp -V && ./gyp --version && gyp -V && gyp --version
- name: Lint with ruff # See pyproject.toml for settings
Expand Down
2 changes: 1 addition & 1 deletion docs/Hacking.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ to make sure your changes aren't breaking anything important.
You run the test driver with e.g.

``` sh
$ python -m pip install --upgrade pip setuptools
$ python -m pip install --upgrade pip
$ pip install --editable ".[dev]"
$ python -m pytest
```
Expand Down
2 changes: 1 addition & 1 deletion pylib/gyp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ def main(args):
return 1


# NOTE: setuptools generated console_scripts calls function with no arguments
# NOTE: console_scripts calls this function with no arguments
def script_main():
return main(sys.argv[1:])

Expand Down

0 comments on commit e476778

Please sign in to comment.