sphinx-d2lang/setup.py

30 lines
869 B
Python
Raw Permalink Normal View History

2023-12-11 16:11:48 +01:00
"""
this is the setup of this package.
"""
from setuptools import setup
2023-12-11 18:15:49 +01:00
#from .sphinxcontrib.d2lang import __version__
2023-12-11 16:11:48 +01:00
with open('sphinxcontrib/requirements.txt', 'r', encoding='utf8') as file:
install_requires = list(map(lambda x: x.strip(), file.readlines()))
2023-12-11 16:53:54 +01:00
with open('README.md', 'r', encoding='utf8') as file:
2023-12-11 16:11:48 +01:00
long_description = file.read()
setup(
name='sphinxcontrib-d2lang',
2023-12-11 18:15:49 +01:00
version='0.0.1',
2023-12-11 16:11:48 +01:00
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"],
)