sphinx-d2lang/setup.py

30 lines
891 B
Python
Raw Normal View History

2023-12-11 16:11:48 +01:00
"""
this is the setup of this package.
"""
from setuptools import setup
from sphinxcontrib.d2lang import __version__
with open('sphinxcontrib/requirements.txt', 'r', encoding='utf8') as file:
install_requires = list(map(lambda x: x.strip(), file.readlines()))
with open('readme.md', 'r', encoding='utf8') as file:
long_description = file.read()
setup(
name='sphinxcontrib-d2lang',
version='.'.join(map(str, __version__)),
author='Milka64',
author_email='michael.ricart@0w.tf',
url='https://git.0w.tf/Milka64/sphinx-d2lang/',
description='an extension for sphinx to render d2lang diagrams in sphinx documents',
packages=['sphinxcontrib.d2lang'],
install_requires=install_requires,
long_description=long_description,
long_description_content_type='text/markdown',
include_package_data=True,
namespace_packages=["sphinxcontrib"],
)