-
Notifications
You must be signed in to change notification settings - Fork 51
Description
OS version
Windows 10
Python version
Python 3.7.6
Pip version
23.1.2
Guide link
https://packaging.python.org/tutorials/packaging-projects
Problem description
(see related Stack Overflow question I asked here)
I recently uploaded my first Python package to PyPI. The relevant parts of pyproject.toml are defined as follows (full file available here):
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "jutility"
version = "0.0.4"
license = {text = "MIT License"}
authors = [
{name = "Jake Levi", email = "[email protected]"},
]
# ...
[project.urls]
homepage = "https://github.com/jakelevi1996/jutility"
After installing this package with the command python3 -m pip install -U jutility, I run the command python3 -m pip show jutility, and get the following output:
Name: jutility
Version: 0.0.4
Summary: Collection of Python utilities intended to be useful for machine learning research and experiments
Home-page:
Author:
Author-email: Jake Levi <[email protected]>
License: MIT License
Location: /usr/local/lib/python3.10/dist-packages
Requires: matplotlib, numpy, Pillow
Required-by:
Notably, the Home-page and Author fields are empty in the output from pip show, although they seem to be defined in pyproject.toml.
How should I change pyproject.toml to make these fields display properly in the pip show output?
Version-wise, I built and uploaded these packages to PyPI on my Windows 10 PC with Python 3.7.6, but I also tried downloading and installing this package and displaying the pip show output from a Google Colab notebook with Python 3.10.11. The package works completely as expected in the Colab notebook, but I get the same pip show output with empty Home-page and Author fields. I'd just like to know what I need to change in order to get these fields to display properly.
Error message
No response