change to pyproject.toml
This commit is contained in:
parent
6741fb447b
commit
ede2e54012
@ -1,23 +1,34 @@
|
|||||||
[build-system]
|
[build-system]
|
||||||
requires = ["setuptools", "wheel"]
|
requires = ["setuptools"]
|
||||||
build-backend = "setuptools.build_meta"
|
|
||||||
|
|
||||||
[tool.setuptools]
|
[project]
|
||||||
name = "nicole"
|
name = "nicole"
|
||||||
version = "2.1.0"
|
version = "2.1.0"
|
||||||
description = "Write lyrics from genius or azlyrics.com into a mp3-tag"
|
description = "Write lyrics from genius or azlyrics.com into a mp3-tag"
|
||||||
author = "Matthias Quintern"
|
authors = [
|
||||||
author_email = "matthias.quintern@posteo.de"
|
{ name = "Matthias Quintern", email = "matthias.quintern@posteo.de" }
|
||||||
url = "https://github.com/MatthiasQuintern/nicole.git"
|
]
|
||||||
license = "GPLv3"
|
requires-python = ">=3.7"
|
||||||
packages = ["nicole"]
|
|
||||||
install_requires = ["mutagen", "beautifulsoup4"]
|
|
||||||
|
|
||||||
[tool.setuptools.entry-points]
|
license = { file = "LICENSE" }
|
||||||
console_scripts = ["nicole=nicole.nicole:main"]
|
dependencies = [
|
||||||
|
"mutagen",
|
||||||
|
"beautifulsoup4"
|
||||||
|
]
|
||||||
|
|
||||||
[tool.setuptools.metadata]
|
classifiers = [
|
||||||
description-file = "readme.md"
|
"Operating System :: POSIX :: Linux",
|
||||||
|
"Environment :: Console",
|
||||||
|
"Programming Language :: Python :: 3",
|
||||||
|
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
||||||
|
]
|
||||||
|
|
||||||
|
[project.urls]
|
||||||
|
repository = "https://github.com/MatthiasQuintern/nicole.git"
|
||||||
|
|
||||||
|
[project.scripts]
|
||||||
|
nicole = "nicole.nicole:main"
|
||||||
|
|
||||||
[tool.setuptools.packages.find]
|
[tool.setuptools.packages.find]
|
||||||
where = "."
|
where = ["."]
|
||||||
|
|
||||||
|
30
setup.py
30
setup.py
@ -1,30 +0,0 @@
|
|||||||
from setuptools import setup
|
|
||||||
|
|
||||||
setup(
|
|
||||||
name="nicole",
|
|
||||||
version="2.1.0",
|
|
||||||
description="Write lyrics from genius or azlyrics.com to a mp3-tag",
|
|
||||||
|
|
||||||
author="Matthias Quintern",
|
|
||||||
author_email="matthiasqui@protonmail.com",
|
|
||||||
|
|
||||||
url="https://github.com/MatthiasQuintern/nicole.git",
|
|
||||||
|
|
||||||
license="GPLv3",
|
|
||||||
|
|
||||||
packages=["nicole"],
|
|
||||||
install_requires=["mutagen", "beautifulsoup4"],
|
|
||||||
|
|
||||||
classifiers=[
|
|
||||||
"Operating System :: POSIX :: Linux",
|
|
||||||
"Environment :: Console",
|
|
||||||
"Programming Language :: Python :: 3",
|
|
||||||
"Topic :: Multimedia :: Audio",
|
|
||||||
"Topic :: Utilities",
|
|
||||||
],
|
|
||||||
|
|
||||||
# scripts=["bin/nicole"],
|
|
||||||
entry_points={
|
|
||||||
"console_scripts": [ "nicole=nicole.nicole:main" ],
|
|
||||||
},
|
|
||||||
)
|
|
Loading…
Reference in New Issue
Block a user