diff --git a/README.md b/README.md index dc25e1e..6881dc8 100644 --- a/README.md +++ b/README.md @@ -84,11 +84,6 @@ chmod +x TgWsProxy_linux_amd64 ## Установка из исходников -Список пакетов `pip` с версиями **по ОС** (Windows/Linux/macOS, отдельно для Python 3.8 на Windows) — в каталоге [`requirements/`](requirements/README.md). Кратко: - -- **Linux (трей):** системный пакет Tcl/Tk для `tkinter`, например `python3-tk` (Debian/Ubuntu). -- Дальше: `pip install -r requirements/<файл>.txt` и `pip install -e .` из корня репозитория. - ### Консольный proxy Для запуска только SOCKS5/WebSocket proxy без tray-интерфейса достаточно базовой установки: @@ -101,7 +96,6 @@ tg-ws-proxy ### Windows 7/10+ ```bash -pip install -r requirements/windows-py39plus.txt pip install -e . tg-ws-proxy-tray-win ``` @@ -109,7 +103,6 @@ tg-ws-proxy-tray-win ### macOS ```bash -pip install -r requirements/macos.txt pip install -e . tg-ws-proxy-tray-macos ``` @@ -117,7 +110,6 @@ tg-ws-proxy-tray-macos ### Linux ```bash -pip install -r requirements/linux.txt pip install -e . tg-ws-proxy-tray-linux ``` diff --git a/requirements/README.md b/requirements/README.md deleted file mode 100644 index d6f291e..0000000 --- a/requirements/README.md +++ /dev/null @@ -1,66 +0,0 @@ -# Зависимости по ОС (разработка из исходников) - -Версии совпадают с [`pyproject.toml`](../pyproject.toml). Для установки **пакета проекта** после зависимостей выполните из корня репозитория: - -```bash -pip install -e . -``` - -Скрипты точек входа: `tg-ws-proxy`, `tg-ws-proxy-tray-win` / `tg-ws-proxy-tray-linux` / `tg-ws-proxy-tray-macos`. - ---- - -## Windows - -| Файл | Условие | -|------|---------| -| [`windows-py39plus.txt`](windows-py39plus.txt) | Python **3.9+** (рекомендуется) | -| [`windows-py38.txt`](windows-py38.txt) | Python **3.8** | - -**Системно:** для сборки/запуска из исходников — установленный [Python](https://www.python.org/downloads/) с опцией *tcl/tk* (обычно включена). Отдельный Tcl/Tk не требуется. - -```powershell -pip install -r requirements\windows-py39plus.txt -pip install -e . -tg-ws-proxy-tray-win -``` - ---- - -## Linux - -Файл: [`linux.txt`](linux.txt) (Python **3.9+**). - -**Системно:** модуль `tkinter` (нужен CustomTkinter для трея): - -- Debian/Ubuntu: `sudo apt install python3-tk` -- Fedora: `sudo dnf install python3-tkinter` -- Arch: `sudo pacman -S tk` - -Также нужны заголовки Python при сборке расширений (если pip собирает колёса): `python3-dev` / `gcc` — по сообщениям pip. - -```bash -pip install -r requirements/linux.txt -pip install -e . -tg-ws-proxy-tray-linux -``` - ---- - -## macOS - -Файл: [`macos.txt`](macos.txt). - -**Системно:** Python с официального установщика или Homebrew; Tcl/Tk обычно уже в комплекте. Для графики трея используется **rumps** (нативная строка меню), не CustomTkinter. - -```bash -pip install -r requirements/macos.txt -pip install -e . -tg-ws-proxy-tray-macos -``` - ---- - -## Примечание - -Готовые бинарники для пользователей — на [странице релизов](https://github.com/Flowseal/tg-ws-proxy/releases); отдельная установка Python и `pip` для них не требуется. diff --git a/requirements/linux.txt b/requirements/linux.txt deleted file mode 100644 index 35e32ec..0000000 --- a/requirements/linux.txt +++ /dev/null @@ -1,11 +0,0 @@ -# Linux (не macOS), Python 3.9+ (как в pyproject.toml) -# Системно: пакет Tcl/Tk для tkinter (CustomTkinter), см. README в этой папке. -# Установка: pip install -r requirements/linux.txt -# Затем из корня репозитория: pip install -e . - -pyperclip==1.9.0 -psutil==7.0.0 -cryptography==46.0.5 -Pillow==12.1.1 -customtkinter==5.2.2 -pystray==0.19.5 diff --git a/requirements/macos.txt b/requirements/macos.txt deleted file mode 100644 index 77e357a..0000000 --- a/requirements/macos.txt +++ /dev/null @@ -1,9 +0,0 @@ -# macOS, Python 3.9+ (без customtkinter/pystray — нативное меню rumps) -# Установка: pip install -r requirements/macos.txt -# Затем из корня репозитория: pip install -e . - -pyperclip==1.9.0 -psutil==7.0.0 -cryptography==46.0.5 -Pillow==12.1.0 -rumps==0.4.0 diff --git a/requirements/windows-py38.txt b/requirements/windows-py38.txt deleted file mode 100644 index 8da5d73..0000000 --- a/requirements/windows-py38.txt +++ /dev/null @@ -1,9 +0,0 @@ -# Windows, Python 3.8 (устаревшие пины из pyproject.toml) -# Установка: pip install -r requirements/windows-py38.txt - -pyperclip==1.9.0 -psutil==5.9.8 -cryptography==41.0.7 -Pillow==10.4.0 -customtkinter==5.2.2 -pystray==0.19.5 diff --git a/requirements/windows-py39plus.txt b/requirements/windows-py39plus.txt deleted file mode 100644 index f586c87..0000000 --- a/requirements/windows-py39plus.txt +++ /dev/null @@ -1,10 +0,0 @@ -# Windows, Python 3.9+ (как в pyproject.toml для platform_system == Windows, python_version >= 3.9) -# Установка: pip install -r requirements/windows-py39plus.txt -# Затем из корня репозитория: pip install -e . - -pyperclip==1.9.0 -psutil==7.0.0 -cryptography==46.0.5 -Pillow==12.1.1 -customtkinter==5.2.2 -pystray==0.19.5