Skip to content

Commit

Permalink
fix: Add readme to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
wwsean08 committed Sep 12, 2022
1 parent 468c6e4 commit a230ad4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
########################################################################################################################

from setuptools import setup
from pathlib import Path

try:
import octoprint_setuptools
Expand Down Expand Up @@ -92,4 +93,10 @@

setup_parameters = dict_merge(setup_parameters, additional_setup_parameters)

setup(**setup_parameters)
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()

setup(**setup_parameters,
long_description=long_description,
long_description_content_type='text/markdown'
)

0 comments on commit a230ad4

Please sign in to comment.