Create pypi package

This commit is contained in:
mirai 2023-03-08 19:10:49 +03:00
parent a8f296c0f1
commit bad818c7e9
3 changed files with 39 additions and 1 deletions

3
.gitignore vendored
View File

@ -9,3 +9,6 @@ __pycache__
.idea
*.pem
__pycache__
cmd_chat.egg-info
build
dist

View File

@ -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
```

27
setup.py Normal file
View File

@ -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"
]
)