Skip to content

Commit aed071e

Browse files
committed
try resolve GPy/gpy name confusion in artifacts builds
1 parent c41043b commit aed071e

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

setup.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,13 @@ def ismac():
148148
]
149149

150150
setup(
151-
name="GPy",
151+
# Use the PEP 503/normalized distribution name so wheel filenames and
152+
# *.dist-info directories are consistently "gpy-..." across setuptools
153+
# versions. (Older setuptools kept the historical "GPy" spelling in
154+
# artifact names; newer ones lowercase it — producing mixed uploads.)
155+
# The import package remains "GPy" via packages=/package_dir below.
156+
# PyPI treats "GPy" and "gpy" as the same project.
157+
name="gpy",
152158
version=__version__,
153159
author=read_to_rst("AUTHORS.txt"),
154160
author_email="gpy.authors@gmail.com",

0 commit comments

Comments
 (0)