Skip to content

Commit 28059ed

Browse files
author
GuardKenzie
committed
Moved to PEP 518 compliant setup
1 parent 0002421 commit 28059ed

File tree

3 files changed

+35
-22
lines changed

3 files changed

+35
-22
lines changed

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[build-system]
2+
requires = [
3+
"setuptools>=42",
4+
"wheel"
5+
]
6+
build-backend = "setuptools.build_meta"

setup.cfg

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[metadata]
2+
name = miniplayer-kenzie
3+
version = 1.1.2
4+
description = An mpd client with album art and basic functionality.
5+
long_description = file: README.md
6+
long_description_content_type = text/markdown
7+
url = https://github.com/GuardKenzie/miniplayer
8+
author = Tristan Ferrua
9+
author_email = tristanferrua@gmail.com
10+
classifiers =
11+
Programming Language :: Python :: 3
12+
License :: OSI Approved :: MIT License
13+
Operating System :: OS Independent
14+
15+
16+
[options]
17+
scripts =
18+
bin/miniplayer
19+
20+
install_requires =
21+
python-mpd2
22+
ffmpeg-python
23+
pixcat
24+
pillow
25+
ueberzug
26+

setup.py

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,4 @@
1-
from setuptools import setup
2-
3-
with open("README.md", "r") as fh:
4-
long_description = fh.read()
5-
6-
setup(name="miniplayer",
7-
version="1.1.2",
8-
description="An mpd client with album art and basic functionality.",
9-
long_description=long_description,
10-
long_description_content_type="text/markdown",
11-
url="https://github.com/GuardKenzie/miniplayer",
12-
author="Tristan Ferrua",
13-
author_email="tristanferrua@gmail.com",
14-
license="MIT",
15-
scripts=["bin/miniplayer"],
16-
install_requires=[
17-
"python-mpd2",
18-
"ffmpeg-python",
19-
"pixcat",
20-
"pillow",
21-
"ueberzug"
22-
])
1+
import setuptools
232

3+
if __name__ == '__main__':
4+
setuptools.setup()

0 commit comments

Comments
 (0)