mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Use last version of README.md for PyPI docs with pretty formatting
https://packaging.python.org/specifications/core-metadata/#description-content-type https://pypi.org/project/pyTelegramBotAPI/
This commit is contained in:
parent
41f7c07959
commit
4eae469528
9
setup.py
9
setup.py
@ -2,14 +2,15 @@
|
|||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
from io import open
|
from io import open
|
||||||
|
|
||||||
def readme():
|
def read(filename):
|
||||||
with open('README.rst', encoding='utf-8') as f:
|
with open(filename, encoding='utf-8') as file:
|
||||||
return f.read()
|
return file.read()
|
||||||
|
|
||||||
setup(name='pyTelegramBotAPI',
|
setup(name='pyTelegramBotAPI',
|
||||||
version='3.6.5',
|
version='3.6.5',
|
||||||
description='Python Telegram bot api. ',
|
description='Python Telegram bot api. ',
|
||||||
long_description=readme(),
|
long_description=read('README.md'),
|
||||||
|
long_description_content_type="text/markdown",
|
||||||
author='eternnoir',
|
author='eternnoir',
|
||||||
author_email='eternnoir@gmail.com',
|
author_email='eternnoir@gmail.com',
|
||||||
url='https://github.com/eternnoir/pyTelegramBotAPI',
|
url='https://github.com/eternnoir/pyTelegramBotAPI',
|
||||||
|
Loading…
Reference in New Issue
Block a user