my eye

Abstract PyPI upload type

Committed 2bb4fc

--- a/webint_code/__init__.py
+++ b/webint_code/__init__.py

             releases_dir / f"{release_name}-{release_remaining}"
         )
         if release_file.suffix == ".asc":
-            message = "Signature has been uploaded."
+            upload_type = "signature"
             suffix = ".asc"
         else:
-            message = "Package has been uploaded."
+            upload_type = "package"
             suffix = ""
             if release_file.suffix == ".gz":
                 subprocess.run(
                 )
             app.model.create_package(form)
         raise web.Created(
-            message,
+            f"{upload_type.capitalize()} has been uploaded.",
             f"/{project['name']}/packages/{form.content.fileobj.filename}{suffix}",
         )