Skip to content

Commit

Permalink
Merge pull request #328 from hugovk/add-readme-to-pypi
Browse files Browse the repository at this point in the history
Add README to PyPI page
  • Loading branch information
halcy committed Apr 23, 2023
2 parents 0e0e8cd + 0a1cb46 commit 0178569
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from pathlib import Path

from setuptools import setup

test_deps = [
Expand Down Expand Up @@ -26,9 +28,14 @@
"blurhash": blurhash_deps,
}

this_directory = Path(__file__).parent
long_description = (this_directory / "README.rst").read_text()

setup(name='Mastodon.py',
version='1.8.0',
description='Python wrapper for the Mastodon API',
long_description=long_description,
long_description_content_type='text/x-rst',
packages=['mastodon'],
install_requires=[
'requests>=2.4.2',
Expand Down

0 comments on commit 0178569

Please sign in to comment.