]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Add docs and repo to project_urls metadata (#753)
authorHugo van Kemenade <hugovk@users.noreply.github.com>
Mon, 13 Jan 2020 10:26:31 +0000 (12:26 +0200)
committerTom Christie <tom@tomchristie.com>
Mon, 13 Jan 2020 10:26:31 +0000 (10:26 +0000)
* Add docs and repo to project_urls metadata

For programmatic access to metadata on PyPI.

* Add Trove classifier: Python 3 Only

setup.py

index 4d925246dad89175f94fdb5686dd4df273fd1938..31ad5eaa792d12b5d41b2e13d77a09372fb14893 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -40,6 +40,10 @@ setup(
     python_requires=">=3.6",
     version=get_version("httpx"),
     url="https://github.com/encode/httpx",
+    project_urls={
+        "Documentation": "https://www.python-httpx.org",
+        "Source": "https://github.com/encode/httpx",
+    },
     license="BSD",
     description="The next generation HTTP client.",
     long_description=get_long_description(),
@@ -74,5 +78,6 @@ setup(
         "Programming Language :: Python :: 3.6",
         "Programming Language :: Python :: 3.7",
         "Programming Language :: Python :: 3.8",
+        "Programming Language :: Python :: 3 :: Only",
     ],
 )