Skip to content

Commit

Permalink
fix setup.py description
Browse files Browse the repository at this point in the history
  • Loading branch information
Snayt1k3 committed May 5, 2024
1 parent 6011dd7 commit 1969647
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
from setuptools import setup, find_packages
from codecs import open
from pathlib import Path

import tomli
from setuptools import setup, find_packages

with open("pyproject.toml", "rb") as f:
pyproject = tomli.load(f)


def get_long_description() -> str:
return (Path(__file__).parent / "README.md").read_text()

extra_requirements = {
"readthedocs": [
"furo",
Expand All @@ -26,6 +29,8 @@
author="Snayt1k3",
author_email="snayt1k3@gmail.com",
description=pyproject["tool"]["poetry"]["description"],
long_description_content_type="text/markdown",
long_description=get_long_description(),
url="https://github.com/Snayt1k3/shiki.py",
classifiers=[
"License :: OSI Approved :: MIT License",
Expand Down

0 comments on commit 1969647

Please sign in to comment.