Skip to content

Commit

Permalink
fix: move configuration information into pyproject.toml (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Oct 8, 2022
1 parent 43a7211 commit d69d8ec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
run: |
python -m pip install --upgrade pip setuptools
pip install --editable ".[dev]"
- run: ./gyp -V && ./gyp --version && gyp -V && gyp --version
- name: Lint with flake8
run: flake8 . --ignore=E203,W503 --max-complexity=101 --max-line-length=88 --show-source --statistics
- name: Test with pytest
Expand Down
2 changes: 0 additions & 2 deletions pylib/gyp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
from gyp.common import GypError


VERSION = "0.13.0"

# Default debug modes for GYP
debug = {}

Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ classifiers = [
dev = ["flake8", "pytest"]

[project.scripts]
gyp = "pylib.gyp:script_main"
gyp = "gyp:script_main"

[project.urls]
"Homepage" = "https://github.com/nodejs/gyp-next"

[tool.setuptools]
packages = ["pylib.gyp", "pylib.gyp.generator"]
package-dir = {"" = "pylib"}
packages = ["gyp", "gyp.generator"]

0 comments on commit d69d8ec

Please sign in to comment.