From 37d6df70c700dd0ca9e5a5e96125f33a6d97208b Mon Sep 17 00:00:00 2001 From: IMDelewer Date: Tue, 17 Mar 2026 09:20:27 +0300 Subject: [PATCH] build: add pyproject.toml --- pyproject.toml | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..db83f47 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,65 @@ +[build-system] +requires = ["hatchling>=1.25.0", "hatch-vcs"] +build-backend = "hatchling.build" + +[project] +name = "tg-ws-proxy" +dynamic=["version"] + +description = "Telegram Desktop WebSocket Bridge Proxy" +readme = "README.md" +requires-python = ">=3.8" + +license = { name = "MIT", file = "LICENSE" } + +authors = [ + { name = "Flowseal" } +] + +keywords = [ + "telegram", + "proxy", + "websocket" +] +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Environment :: Console", + "Environment :: Win32 (MS Windows)", + "Intended Audience :: Customer Service", + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Operating System :: Microsoft :: Windows", + "Topic :: System :: Networking :: Firewalls", +] + +dependencies = [ + "customtkinter==5.2.2", + "pystray==0.19.5", + "pyperclip==1.9.0", +] + +[project.optional-dependencies] +win7 = [ + "cryptography==41.0.7", + "Pillow==10.4.0", + "psutil==5.9.8", +] + +win10 = [ + "cryptography==46.0.5", + "Pillow==12.1.1", + "psutil==7.0.0", +] + +[project.scripts] +tg-ws-proxy = "proxy.tg_ws_proxy:main" + +[project.urls] +Source = "https://github.com/Flowseal/tg-ws-proxy" +Issues = "https://github.com/Flowseal/tg-ws-proxy/issues" + +[tool.hatch.build.targets.wheel] +packages = ["proxy"] + +[tool.hatch.version] +source = "vcs"