Skip to content

Commit c6c1822

Browse files
committed
modernize to f-string
1 parent e64ad32 commit c6c1822

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

setup.py

+4-7
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,11 @@ def get_subpackages(name):
5252
setup(
5353
name=NAME,
5454
version=__version__,
55-
description='%s distribution tools, including WPPM'
56-
% PROJECT_NAME,
57-
long_description="""%s is a portable distribution of the Python programming language
55+
description=f'{PROJECT_NAME} distribution tools, including WPPM',
56+
long_description=f"""{PROJECT_NAME} is a portable distribution of the Python programming language
5857
for Windows. It is a full-featured Python-based scientific environment, :
59-
including a package manager, WPPM."""
60-
% PROJECT_NAME,
61-
download_url='%s/files/%s-%s.zip'
62-
% (__project_url__, NAME, __version__),
58+
including a package manager, WPPM.""",
59+
download_url=f'{__project_url__}/files/{NAME}-{__version__}.zip',
6360
author="Pierre Raybaut",
6461
author_email='pierre.raybaut@gmail.com',
6562
url=__project_url__,

0 commit comments

Comments
 (0)