Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c6c1822

Browse filesBrowse files
committed
modernize to f-string
1 parent e64ad32 commit c6c1822
Copy full SHA for c6c1822

File tree

Expand file treeCollapse file tree

1 file changed

+4
-7
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-7
lines changed

‎setup.py

Copy file name to clipboardExpand all lines: setup.py
+4-7Lines changed: 4 additions & 7 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.