Skip to content

Commit

Permalink
Fix the urls on PyPI (#1229)
Browse files Browse the repository at this point in the history
Previous way of specifying the url does not display the repository:


![image](https://github.com/microsoft/onnxscript/assets/11205048/348a68fe-fee9-42f0-9e81-4932e67ad2f9)
  • Loading branch information
justinchuby committed Apr 23, 2024
1 parent c979aae commit 2824bc8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
version = VERSION_FILE.read_text().strip()

project_urls = {
"Homepage": "https://onnxscript.ai/",
"Repository": "https://github.com/microsoft/onnxscript",
}
if os.environ.get("ONNX_SCRIPT_RELEASE") != "1":
Expand All @@ -32,4 +33,4 @@
)

# NOTE: Do not include other metadata in setup.py. Put it in pyproject.toml.
setuptools.setup(version=version, project_urls=project_urls, url="https://onnxscript.ai/")
setuptools.setup(version=version, project_urls=project_urls)

0 comments on commit 2824bc8

Please sign in to comment.