Skip to content

Commit

Permalink
fix: correct string interpolation for PyPI download URL
Browse files Browse the repository at this point in the history
The download URL under the "Project links" section on the PyPI site [1]
is currently broken, as it points to the following URL:

https://github.com/siemens/kas/archive/{__version__}.tar.gz

This commit fixes the issue by adding the 'f' prefix to correctly
interpolate the __version__ variable in the URL.

[1] https://pypi.org/project/kas/

Signed-off-by: Michael Adler <michael.adler@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
  • Loading branch information
michaeladler authored and jan-kiszka committed Jan 22, 2025
1 parent 076564c commit c5609b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

url='https://github.com/siemens/kas',
download_url=('https://github.com/siemens/'
'kas/archive/{__version__}.tar.gz'),
f'kas/archive/{__version__}.tar.gz'),

license='MIT',

Expand Down

0 comments on commit c5609b0

Please sign in to comment.