From 075e50d5ad43bbe5423e44c2186c5ce782d0a4e4 Mon Sep 17 00:00:00 2001 From: David Parker Date: Thu, 16 Apr 2026 13:02:40 +0100 Subject: [PATCH] [patch] Remove use of pandoc to convert to RST --- .gitignore | 8 ++------ pyproject.toml | 3 +-- setup.py | 8 ++------ 3 files changed, 5 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index b018c32e..2be44be7 100644 --- a/.gitignore +++ b/.gitignore @@ -6,10 +6,6 @@ __pycache__/ # Distribution / packaging dist *.egg-info -pandoc-*-amd64.deb -pandoc-*-windows-x86_64.msi -pandoc-*-x86_64-macOS.pkg -README.rst # Environments .venv/ @@ -19,5 +15,5 @@ venv/ # Other kubectl.exe /build -/.vscode -/site +/.vscode +/site diff --git a/pyproject.toml b/pyproject.toml index 4a69b01c..86cbe527 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,5 @@ [build-system] requires = [ - "setuptools", - "pypandoc" + "setuptools" ] build-backend = "setuptools.build_meta" diff --git a/setup.py b/setup.py index 58f99a2b..a8e6a9cd 100644 --- a/setup.py +++ b/setup.py @@ -14,13 +14,8 @@ sys.path.insert(0, 'src') -if not os.path.exists('README.rst'): - import pypandoc - pypandoc.download_pandoc(targetfolder='~/bin/') - pypandoc.convert_file('README.md', 'rst', outputfile='README.rst') - here = os.path.abspath(os.path.dirname(__file__)) -with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f: +with open(os.path.join(here, 'README.md'), encoding='utf-8') as f: long_description = f.read() # Maintain a single source of versioning @@ -54,6 +49,7 @@ def get_version(rel_path): license='Eclipse Public License - v1.0', description='Python for Maximo Application Suite Dev/Ops', long_description=long_description, + long_description_content_type='text/markdown', install_requires=[ 'pyyaml', # MIT License 'openshift', # Apache Software License