Add README to PyPI page

This commit is contained in:
Hugo van Kemenade 2023-03-05 10:18:17 +02:00
parent 9225072cc8
commit 0a1cb46ba2

View File

@ -1,3 +1,5 @@
from pathlib import Path
from setuptools import setup from setuptools import setup
test_deps = [ test_deps = [
@ -26,9 +28,14 @@ extras = {
"blurhash": blurhash_deps, "blurhash": blurhash_deps,
} }
this_directory = Path(__file__).parent
long_description = (this_directory / "README.rst").read_text()
setup(name='Mastodon.py', setup(name='Mastodon.py',
version='1.8.0', version='1.8.0',
description='Python wrapper for the Mastodon API', description='Python wrapper for the Mastodon API',
long_description=long_description,
long_description_content_type='text/x-rst',
packages=['mastodon'], packages=['mastodon'],
install_requires=[ install_requires=[
'requests>=2.4.2', 'requests>=2.4.2',