Remove sphinx setuptools commands from setup.py

This commit is contained in:
Eric Torres 2023-05-03 15:49:58 -07:00
parent bcd82a2ca6
commit 5b77f0a698
2 changed files with 2 additions and 12 deletions

View File

@ -1,6 +1,6 @@
# Maintainer: Eric Torres <erictorres4@protonmail.com> # Maintainer: Eric Torres <erictorres4@protonmail.com>
pkgname=packaging-scripts pkgname=packaging-scripts
pkgver=1.7.2 pkgver=1.7.1
pkgrel=2 pkgrel=2
pkgdesc="A set of helper scripts for handling Arch Linux packages" pkgdesc="A set of helper scripts for handling Arch Linux packages"
arch=('any') arch=('any')

View File

@ -1,11 +1,9 @@
import setuptools import setuptools
from sphinx.setup_command import BuildDoc
# ========== Constants ========== # ========== Constants ==========
EXCLUDED_PACKAGES = ["test", "tests"] EXCLUDED_PACKAGES = ["test", "tests"]
PACKAGES = setuptools.find_packages(exclude=EXCLUDED_PACKAGES) PACKAGES = setuptools.find_packages(exclude=EXCLUDED_PACKAGES)
SCRIPTS = ["bin/addpkg", "bin/delpkg", "bin/fqo", "bin/pug2"] SCRIPTS = ["bin/addpkg", "bin/delpkg", "bin/fqo", "bin/pug2"]
CMDCLASS = {"build_sphinx": BuildDoc}
# ========== Functions ========== # ========== Functions ==========
@ -19,7 +17,7 @@ setuptools.setup(
version="1.7.1", version="1.7.1",
author="Eric Russel Torres", author="Eric Russel Torres",
author_email="erictorres4@protonmail.com", author_email="erictorres4@protonmail.com",
description="A set of helpers for automating borg interaction", description="A set of scripts for automating pacman database interaction",
long_description=long_description, long_description=long_description,
long_description_content_type="text/plain", long_description_content_type="text/plain",
url="", url="",
@ -30,12 +28,4 @@ setuptools.setup(
"License :: OSI Approved :: MIT License", "License :: OSI Approved :: MIT License",
"Operating System :: OS Independent", "Operating System :: OS Independent",
], ],
command_options={
"build_sphinx": {
"project": ("setup.py", "name"),
"version": ("setup.py", "version"),
"release": ("setup.py", "release"),
"source_dir": ("setup.py", "doc"),
}
},
) )