Update build procedure with pyproject.toml
This commit is contained in:
parent
8cfb8bb153
commit
aeb1130be4
2
PKGBUILD
2
PKGBUILD
@ -7,7 +7,7 @@ arch=('any')
|
|||||||
license=('MIT')
|
license=('MIT')
|
||||||
groups=(pacman-helpers)
|
groups=(pacman-helpers)
|
||||||
depends=(gist mlocate pacman python pyalpm)
|
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'
|
optdepends=('fzf: for the fqo script'
|
||||||
'mlocate: for the fqo script')
|
'mlocate: for the fqo script')
|
||||||
checkdepends=(python-hypothesis python-pytest)
|
checkdepends=(python-hypothesis python-pytest)
|
||||||
|
@ -1,2 +1,17 @@
|
|||||||
[build-system]
|
[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",
|
||||||
|
]
|
||||||
|
18
setup.py
18
setup.py
@ -12,20 +12,4 @@ with open("README.rst", "r") as fh:
|
|||||||
|
|
||||||
|
|
||||||
# ========== Package Setup ==========
|
# ========== Package Setup ==========
|
||||||
setuptools.setup(
|
setuptools.setup(packages=PACKAGES)
|
||||||
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",
|
|
||||||
],
|
|
||||||
)
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user