Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Rely on pyproject.toml
Use of `setup.py` is redundant.

This leads to more accurate metadata:
```diff
17c17
< Requires-Python: >=3.8
---
> Requires-Python: >=3.9
29d28
< Dynamic: requires-python
```
  • Loading branch information
brettcannon committed Feb 11, 2026
commit ee307e8fb9b9324163164de09a1f06d6be5b5131
7 changes: 3 additions & 4 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ dependencies = [
Homepage = "https://github.com/github/copilot-sdk"
Repository = "https://github.com/github/copilot-sdk"

[tool.setuptools.packages.find]
where = ["."]
include = ["copilot*"]

[project.optional-dependencies]
dev = [
"ruff>=0.1.0",
Expand All @@ -46,6 +42,9 @@ dev = [
"httpx>=0.24.0",
]

[tool.setuptools]
packages = ["copilot"]
Comment thread
brettcannon marked this conversation as resolved.

[tool.ruff]
line-length = 100
target-version = "py39"
Expand Down
11 changes: 0 additions & 11 deletions python/setup.py

This file was deleted.