From 2eb2317dc883799f61fc03301da651e4fcb75d95 Mon Sep 17 00:00:00 2001 From: Angus Hollands Date: Fri, 22 Mar 2024 10:35:37 +0000 Subject: [PATCH] chore: update build backend --- MANIFEST.in | 2 -- setup.cfg | 2 -- setup.py | 48 ------------------------------------------------ 3 files changed, 52 deletions(-) delete mode 100644 MANIFEST.in delete mode 100755 setup.cfg delete mode 100644 setup.py diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index 4c90285..0000000 --- a/MANIFEST.in +++ /dev/null @@ -1,2 +0,0 @@ -graft docs/ -prune docs/_build diff --git a/setup.cfg b/setup.cfg deleted file mode 100755 index 0c9e0fc..0000000 --- a/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[metadata] -license_file = LICENSE diff --git a/setup.py b/setup.py deleted file mode 100644 index ce8594c..0000000 --- a/setup.py +++ /dev/null @@ -1,48 +0,0 @@ -import os -from pathlib import Path - -from setuptools import setup, find_packages - -with open("./README.md") as ff: - readme_text = ff.read() - -# Parse version -init = Path(__file__).parent.joinpath("sphinx_remove_toctrees", "__init__.py") -for line in init.read_text().split("\n"): - if line.startswith("__version__ ="): - break -version = line.split(" = ")[-1].strip('"') - -docs_requirements = [ - "ipython", - "sphinx-book-theme", - "myst-parser", -] - -setup( - name="sphinx-remove-toctrees", - version=version, - description="Reduce your documentation build size by selectively removing toctrees from pages.", - long_description=readme_text, - long_description_content_type="text/markdown", - author="Executable Book Project", - url="https://github.com/executablebooks/sphinx-remove-toctrees", - license="MIT License", - packages=find_packages(), - classifiers=[ - "License :: OSI Approved :: MIT License", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.6", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3 :: Only", - ], - python_requires=">=3.6", - install_requires=["sphinx>=1.8"], - extras_require={ - "code_style": ["pre-commit==2.12.1"], - "docs": docs_requirements, - "tests": docs_requirements + ["pytest",], - }, -)