INNER CODE UNIT · Python
read_file
fralau/mkdocs-macros-plugin · _setup.py:28
def read_file(fname):
"Read a local file"
return open(os.path.join(os.path.dirname(__file__), fname), encoding="utf-8").read()
setup(
name='mkdocs-macros-plugin',
version=VERSION_NUMBER,
description="Unleash the power of MkDocs with macros and variables",
long_description=read_file('README.md'),
long_description_content_type='text/markdown',
keywords='mkdocs python markdown macros',
url='https://github.com/fralau/mkdocs_macros_plugin',
author='Laurent Franceschbetti',
author_email='info@settlenext.com',
license='MIT',
python_requires='>=3.8',
install_requires=[