Skip to content

Commit aa7d693

Browse files
committed
Refactor setuptools script
This patch entroduces README in the long_description and reformat setuptools script for better reading. Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
1 parent 81c49ee commit aa7d693

File tree

1 file changed

+27
-23
lines changed

1 file changed

+27
-23
lines changed

setup.py

Lines changed: 27 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,39 +4,43 @@
44
:synopsis: installer module
55
.. moduleauthor:: Andrea Cervesato <andrea.cervesato@mailbox.org>
66
"""
7-
import libkirk
7+
88
from setuptools import setup
99

10+
import libkirk
11+
1012
setup(
11-
name='kirk',
13+
name="kirk",
1214
version=libkirk.__version__,
13-
description='All-in-one Linux Testing Framework',
14-
author='Andrea Cervesato',
15-
author_email='andrea.cervesato@mailbox.org',
16-
license='GPLv2',
17-
url='https://github.com/acerv/kirk',
15+
description="All-in-one Linux Testing Framework",
16+
long_description=open("README.md").read(),
17+
long_description_content_type="text/markdown",
18+
author="Andrea Cervesato",
19+
author_email="andrea.cervesato@mailbox.org",
20+
license="GPLv2",
21+
url="https://github.com/acerv/kirk",
1822
classifiers=[
19-
'Natural Language :: English',
20-
'Intended Audience :: Developers',
21-
'Operating System :: OS Independent',
22-
'Programming Language :: Python',
23-
'Programming Language :: Python :: 3.6',
24-
'Programming Language :: Python :: 3.7',
25-
'Programming Language :: Python :: 3.8',
26-
'Programming Language :: Python :: 3.9',
27-
'Programming Language :: Python :: 3.10',
28-
'Programming Language :: Python :: 3.11',
29-
'Topic :: Software Development :: Testing',
23+
"Natural Language :: English",
24+
"Intended Audience :: Developers",
25+
"Operating System :: OS Independent",
26+
"Programming Language :: Python",
27+
"Programming Language :: Python :: 3.6",
28+
"Programming Language :: Python :: 3.7",
29+
"Programming Language :: Python :: 3.8",
30+
"Programming Language :: Python :: 3.9",
31+
"Programming Language :: Python :: 3.10",
32+
"Programming Language :: Python :: 3.11",
33+
"Topic :: Software Development :: Testing",
3034
],
3135
extras_require={
32-
'ssh': ['asyncssh <= 2.13.2'],
33-
'ltx': ['msgpack <= 1.0.5'],
36+
"ssh": ["asyncssh <= 2.13.2"],
37+
"ltx": ["msgpack <= 1.0.5"],
3438
},
35-
packages=['libkirk'],
39+
packages=["libkirk"],
3640
include_package_data=True,
3741
entry_points={
38-
'console_scripts': [
39-
'kirk=libkirk.main:run',
42+
"console_scripts": [
43+
"kirk=libkirk.main:run",
4044
],
4145
},
4246
)

0 commit comments

Comments
 (0)