Skip to content

Commit

Permalink
Fix bug in get README file
Browse files Browse the repository at this point in the history
  • Loading branch information
kian-ahmadian committed Oct 22, 2023
1 parent 2605c8e commit cb58b0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages

def get_readme_file() -> str:
with open("README.md", encoding="utf-8") as f:
with open("README.rst", encoding="utf-8") as f:
readme_file = f.read()
return readme_file

Expand Down Expand Up @@ -29,7 +29,7 @@ def get_readme_file() -> str:
license="LGPLv2",
project_urls={
"Documentation": "https://docs.python-bale-bot.ir/en/stable/",
"Changelog": "https:///docs.python-bale-bot.ir/en/stable/whats_new.html",
"Changelog": "https:///docs.python-bale-bot.ir/en/stable/changelog.html",
"Bug Tracker": "https://github.com/python-bale-bot/python-bale-bot/issues",
"Source Code": "https://github.com/python-bale-bot/python-bale-bot/"
},
Expand All @@ -41,7 +41,7 @@ def get_readme_file() -> str:
url="https://github.com/python-bale-bot/python-bale-bot/",
packages=find_packages(),
long_description=get_readme_file(),
long_description_content_type='text/markdown',
long_description_content_type='text/x-rst',
install_requires=["aiohttp>=3.6.0,<3.8.6", "asyncio~=3.4.3", "setuptools>=60.2,<68.3"]
)

Expand Down

0 comments on commit cb58b0e

Please sign in to comment.