diff --git a/pyproject.toml b/pyproject.toml index 3463647..e2f2142 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["hatchling"] build-backend = "hatchling.build" +requires = ["hatchling"] [project] name = "proxy-scraper-checker" @@ -14,24 +14,22 @@ dependencies = [ "aiohttp>=3.8.6,<4", "aiohttp-socks>=0.7,<0.10", "attrs>=22.2", - "brotli>=1,<2; implementation_name == 'cpython'", - "brotlicffi<2; implementation_name != 'cpython'", + "brotli>=1,<2; implementation_name=='cpython'", + "brotlicffi<2; implementation_name!='cpython'", "certifi", "charset-normalizer>=2,<4", "maxminddb>=1.3,<3", "platformdirs<5", "rich>=12.3,<14", - "tomli<3; python_version < '3.11'", - "winloop<0.1.7; implementation_name == 'cpython' and (sys_platform == 'cygwin' or sys_platform == 'win32')", + "tomli<3; python_version<'3.11'", + "winloop<0.1.7; implementation_name=='cpython' and (sys_platform=='cygwin' or sys_platform=='win32')", ] -urls.repository = "https://github.com/monosans/proxy-scraper-checker" - -[project.optional-dependencies] -non-termux = [ +optional-dependencies.non-termux = [ "aiodns>=1.1,<4", - "uvloop>=0.14,<0.21; implementation_name == 'cpython' and (sys_platform == 'darwin' or sys_platform == 'linux')", + "uvloop>=0.14,<0.21; implementation_name=='cpython' and (sys_platform=='darwin' or sys_platform=='linux')", ] -nuitka = ["nuitka==2.4.8"] +optional-dependencies.nuitka = ["nuitka==2.4.8"] +urls.repository = "https://github.com/monosans/proxy-scraper-checker" [tool.uv] dev-dependencies = [