Skip to content

Commit

Permalink
nowadays many projects use project.urls.Repository
Browse files Browse the repository at this point in the history
to define their homepage.
  • Loading branch information
M0ses committed Nov 14, 2023
1 parent 11e0785 commit 1adbb6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions py2pack/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ def _canonicalize_setup_data(data):
get_pyproject_table(data, 'project.urls.Homepage') or
get_pyproject_table(data, 'project.urls.Source') or
get_pyproject_table(data, 'project.urls.GitHub') or
get_pyproject_table(data, 'project.urls.Repository') or
data.get('home_page', None))
if homepage:
data['home_page'] = homepage
Expand Down

0 comments on commit 1adbb6d

Please sign in to comment.