55from mkdocs_markmap .__meta__ import OWNER , PROJECT_NAME , PROJECT_VERSION , REPOSITORY_URL
66
77
8- def readme () -> str :
9- """print long description"""
10- with open ('README.md' ) as f :
11- return f .read ()
12-
13-
148def get_requirements (filename : str , base_dir : str = 'requirements' ) -> List [str ]:
159 """Load list of dependencies."""
1610 install_requires = []
17- with open (Path (base_dir ) / filename ) as fp :
11+ with (Path (base_dir ) / filename ). open ( ) as fp :
1812 for line in fp :
1913 stripped_line = line .partition ('#' )[0 ].strip ()
2014 if stripped_line :
@@ -27,7 +21,7 @@ def get_requirements(filename: str, base_dir: str = 'requirements') -> List[str]
2721 name = PROJECT_NAME ,
2822 version = PROJECT_VERSION ,
2923 description = 'MkDocs plugin and extension to creates mindmaps from markdown using markmap' ,
30- long_description = readme (),
24+ long_description = Path ( 'README.md' ). read_text (),
3125 long_description_content_type = 'text/markdown' ,
3226 keywords = 'mkdocs python markdown markmap mindmap include' ,
3327 url = REPOSITORY_URL ,
@@ -46,6 +40,9 @@ def get_requirements(filename: str, base_dir: str = 'requirements') -> List[str]
4640 'Programming Language :: Python :: 3.8' ,
4741 'Programming Language :: Python :: 3.9' ,
4842 'Programming Language :: Python :: 3.10' ,
43+ 'Programming Language :: Python :: 3.11' ,
44+ 'Programming Language :: Python :: 3.12' ,
45+ 'Programming Language :: Python :: 3.13' ,
4946 ],
5047 packages = find_packages (exclude = ['*.tests' ]),
5148 package_dir = {
0 commit comments