Update build procedure with pyproject.toml

This commit is contained in:
Eric Torres 2024-05-09 19:52:59 -07:00
parent 8cfb8bb153
commit aeb1130be4
3 changed files with 18 additions and 19 deletions

View File

@ -7,7 +7,7 @@ arch=('any')
license=('MIT')
groups=(pacman-helpers)
depends=(gist mlocate pacman python pyalpm)
makedepends=(python-build python-install python-setuptools)
makedepends=(python-build python-installer python-setuptools)
optdepends=('fzf: for the fqo script'
'mlocate: for the fqo script')
checkdepends=(python-hypothesis python-pytest)

View File

@ -1,2 +1,17 @@
[build-system]
requires=["build", "setuptools", "wheel"]
requires=["build", "setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "packaging_scripts"
authors = ["Eric Torres"]
version = "1.7.1"
description = "A set of scripts for automating pacman database interaction"
readme = "README.rst"
license = "LICENSE"
scripts = ["bin/addpkg", "bin/delpkg", "bin/fqo", "bin/pug2"]
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]

View File

@ -12,20 +12,4 @@ with open("README.rst", "r") as fh:
# ========== Package Setup ==========
setuptools.setup(
name="packaging_scripts",
version="1.7.1",
author="Eric Russel Torres",
author_email="erictorres4@protonmail.com",
description="A set of scripts for automating pacman database interaction",
long_description=long_description,
long_description_content_type="text/plain",
url="",
packages=PACKAGES,
scripts=SCRIPTS,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)
setuptools.setup(packages=PACKAGES)