From ce6ca88b398bd951a1ee10b8a85711c7800a3509 Mon Sep 17 00:00:00 2001 From: Mr Broken <74880754+mrxbroken011@users.noreply.github.com> Date: Sat, 7 Feb 2026 08:47:00 +0530 Subject: [PATCH] simplify setup.py to use pyproject.toml as source of truth ```python from setuptools import setup setup() ``` --- python/setup.py | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/python/setup.py b/python/setup.py index cef01148..1a461f8b 100644 --- a/python/setup.py +++ b/python/setup.py @@ -1,11 +1,25 @@ -from setuptools import find_packages, setup +#simplify setup.py to use pyproject.toml as source of truth + +from setuptools import setup, find_packages setup( name="github-copilot-sdk", version="0.1.0", - packages=find_packages(), + packages=find_packages(include=["copilot*"]), install_requires=[ + "python-dateutil>=2.9.0.post0", + "pydantic>=2.0", "typing-extensions>=4.0.0", ], - python_requires=">=3.8", + extras_require={ + "dev": [ + "ruff>=0.1.0", + "ty>=0.0.2", + "pytest>=7.0.0", + "pytest-asyncio>=0.21.0", + "pytest-timeout>=2.0.0", + "httpx>=0.24.0", + ], + }, + python_requires=">=3.9", )