diff --git a/.gitignore b/.gitignore index ecf875d..37d2d96 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,7 @@ __pycache__ *.pyc .idea *.pem -__pycache__ \ No newline at end of file +__pycache__ +cmd_chat.egg-info +build +dist \ No newline at end of file diff --git a/README.MD b/README.MD index d9c19be..64240b4 100644 --- a/README.MD +++ b/README.MD @@ -9,6 +9,10 @@ ![Alt Text](example.gif) +# What is this? + +It is console chat with encrypting your messages + # How it works? All you need it's to run web-server and connect to them via client @@ -17,6 +21,10 @@ All you need it's to run web-server and connect to them via client ### Create and activate virtual environment python +``` +pip install cmd-chat +``` + ``` python main.py ``` diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..e1916c3 --- /dev/null +++ b/setup.py @@ -0,0 +1,27 @@ +import setuptools + +with open("README.md", "r", encoding="utf-8") as fh: + description = fh.read() + +setuptools.setup( + name="cmd_chat", + version="1.0", + author="dinosaurtirex", + author_email="sneakybeaky18@gmail.com", + packages=["cmd_chat"], + 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', + install_requires=[ + "sanic", + "requests", + "rsa", + "cryptography", + "colorama", + "pydantic", + "websocket-client" + ] +) \ No newline at end of file