Skip to content

Commit 40616d2

Browse files
authored
Update setup.py to include long description for PyPI
1 parent 90a3662 commit 40616d2

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,18 @@
1111
break
1212
else:
1313
raise RuntimeError("Could not find version in Cargo.toml")
14+
15+
with open("README.md", encoding="utf-8") as f:
16+
long_description = f.read()
1417

1518
setup(
1619
name="pyspector",
1720
version=version,
1821
author="ParzivalHack",
1922
keywords="static analysis security python rust",
2023
description="A high-performance, security-focused static analysis tool for Python, powered by Rust.",
21-
readme="README.md",
24+
long_description=long_description,
25+
long_description_content_type="text/markdown",
2226
license="MIT",
2327
packages=find_packages(where="src"),
2428
package_dir={"": "src"},

0 commit comments

Comments
 (0)