Forráskód Böngészése

Add PyPI metadata and build artifacts to gitignore

Added author, classifiers, keywords, and homepage URL to pyproject.toml
for PyPI publishing. Removed setuptools-scm dependency.
TheCodemancer 6 hónapja
szülő
commit
f8250695c7
2 módosított fájl, 20 hozzáadás és 1 törlés
  1. 2 0
      .gitignore
  2. 18 1
      pyproject.toml

+ 2 - 0
.gitignore

@@ -2,3 +2,5 @@ __pycache__/
 *.egg-info/
 .venv/
 .pytest_cache/
+dist/
+build/

+ 18 - 1
pyproject.toml

@@ -1,5 +1,5 @@
 [build-system]
-requires = ["setuptools>=68.0", "setuptools-scm>=8.0"]
+requires = ["setuptools>=68.0"]
 build-backend = "setuptools.build_meta"
 
 [project]
@@ -8,11 +8,28 @@ version = "0.1.0"
 description = "Async Python client library for the Chatto webchat GraphQL API"
 requires-python = ">=3.11"
 license = "MIT"
+authors = [
+    { name = "Felix", email = "chatto@f3l1x.it" },
+]
+keywords = ["chatto", "graphql", "async", "webchat", "client"]
+classifiers = [
+    "Development Status :: 3 - Alpha",
+    "Intended Audience :: Developers",
+    "Programming Language :: Python :: 3",
+    "Programming Language :: Python :: 3.11",
+    "Programming Language :: Python :: 3.12",
+    "Programming Language :: Python :: 3.13",
+    "Topic :: Communications :: Chat",
+    "Framework :: AsyncIO",
+]
 dependencies = [
     "httpx>=0.27",
     "websockets>=13.0",
 ]
 
+[project.urls]
+Homepage = "https://chat.chatto.run"
+
 [project.optional-dependencies]
 dev = [
     "pytest>=8.0",