Server: - Split into views, routes, helpers, models modules - Merged /ws/talk and /ws/update into single /ws/chat endpoint - Replaced polling with push-based broadcast model - Added username uniqueness validation on connect - Fixed run_server arguments bug (workers parameter) - Removed deprecated loop argument from Sanic listeners - Replaced datetime.utcnow() with timezone-aware datetime.now(timezone.utc) Client: - Rewrote client as single-file module - Migrated from websocket-client to websockets (asyncio) - Fixed websocket-client conflict with asyncio event loop on Windows - Added progress indicators for key generation, exchange, connection - Added animated 3D spinning cube in UI - Updated RSA key from 512 to 2048 bits CLI: - Removed unnecessary asyncio.run() wrapper - Simplified entry point
30 lines
861 B
Python
30 lines
861 B
Python
import setuptools
|
|
|
|
with open("README.md", "r", encoding="utf-8") as fh:
|
|
description = fh.read()
|
|
|
|
setuptools.setup(
|
|
name="secured_console_chat",
|
|
version="1.1.22",
|
|
author="dinosaurtirex",
|
|
author_email="sneakybeaky18@gmail.com",
|
|
# Use find_packages to correctly discover package names
|
|
packages=setuptools.find_packages(exclude=("tests", "docs")),
|
|
description="Secured console chat with RSA & Fernet",
|
|
long_description=description,
|
|
long_description_content_type="text/markdown",
|
|
url="https://github.com/dinosaurtirex/cmd-chat",
|
|
license="MIT",
|
|
python_requires=">=3.10",
|
|
entry_points={"console_scripts": ["cmd_chat = cmd_chat:main"]},
|
|
install_requires=[
|
|
"sanic",
|
|
"requests",
|
|
"rsa",
|
|
"cryptography",
|
|
"colorama",
|
|
"pydantic",
|
|
"websocket-client",
|
|
],
|
|
)
|