fixed readme coding, added project info

This commit is contained in:
Bigsk 2024-10-14 22:49:02 +08:00
parent cdc2073460
commit ecb9b4864e
4 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,7 @@
# Richka - Python Async Download Engine
![Project Version](https://img.shields.io/pypi/v/richka) ![Python Version](https://img.shields.io/pypi/pyversions/richka)
#### Richka (From Ukrainian: Рiчка) means river, stands for the download speed of Richka Engine
## Usage

View File

@ -1,7 +1,7 @@
__title__ = "richka"
__description__ = "Python Async Download Engine."
__url__ = "https://github.com/ghinknet/richka"
__version__ = '0.0.1'
__version__ = '0.0.2'
__author__ = "Ian Xia"
__author_email__ = "xia@ghink.net"
__license__ = "MIT"

View File

@ -2,7 +2,7 @@ import richka
import logging
__VERSION = ("Alpha", 0, 0, 1)
__VERSION = ("Alpha", 0, 0, 2)
USER_AGENT = f"Richka{__VERSION[0]}/{__VERSION[1]}.{__VERSION[2]}.{__VERSION[3]}"
HEADERS = {"user-agent": USER_AGENT}
COROUTINE_LIMIT = 10

View File

@ -8,7 +8,7 @@ here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, "richka", "__version__.py"), "r") as f:
exec(f.read(), about)
with open("README.md", "r") as f:
with open("README.md", "r", encoding="utf-8") as f:
readme = f.read()
if sys.argv[-1] == "publish":