File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 1+ from pathlib import Path
2+
13from setuptools import find_packages , setup
24
35
@@ -8,6 +10,12 @@ def get_requirements(env=""):
810 return [x .strip () for x in fp .read ().split ("\n " ) if not x .startswith ("#" )]
911
1012
13+ def get_readme () -> str :
14+ this_directory = Path (__file__ ).parent
15+ long_description = (this_directory / "README.md" ).read_text ()
16+ return long_description
17+
18+
1119setup (
1220 name = "permit" ,
1321 version = "2.3.0" ,
@@ -18,6 +26,8 @@ def get_requirements(env=""):
1826 python_requires = ">=3.8" ,
1927 description = "Permit.io python sdk" ,
2028 install_requires = get_requirements (),
29+ long_description = get_readme (),
30+ long_description_content_type = "text/markdown" ,
2131 classifiers = [
2232 "Operating System :: OS Independent" ,
2333 "Programming Language :: Python" ,
You can’t perform that action at this time.
0 commit comments