Skip to content

Commit

Permalink
Set download_url in setup.py.
Browse files Browse the repository at this point in the history
This appears to now be required by either PyPI or the gh-action-pypi-publish
github action. When not set, PyPI now returns a 400 error:

400 '' is not a valid url. See
https://packaging.python.org/specifications/core-metadata for more information.

The server could not comply with the request since it is either malformed or
otherwise incorrect.

'' is not a valid url. See
https://packaging.python.org/specifications/core-metadata for more information.
  • Loading branch information
adamshapiro0 committed Mar 19, 2024
1 parent 5e22c23 commit 98eb2b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def find_version(*file_paths):
'Topic :: Software Development :: Libraries :: Python Modules',
],
url='https://github.com/PointOneNav/fusion-engine-client',
download_url=f'https://github.com/PointOneNav/fusion-engine-client/archive/refs/tags/v{version}.tar.gz',
packages=find_packages(where='.'),
entry_points={
'console_scripts': [
Expand Down

0 comments on commit 98eb2b3

Please sign in to comment.