From 56d6d8c98d45f86ec12250190a0362ee66a8678e Mon Sep 17 00:00:00 2001 From: Reid Johnson Date: Wed, 4 Oct 2023 00:24:45 -0700 Subject: [PATCH] Update Setup Metadata -Add Python 3.12 descriptors -Add package URLs --- pyproject.toml | 2 +- setup.py | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index ea97651..6972ab6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ requires = [ [tool.black] line-length = 100 -target_version = ['py38', 'py39', 'py310', 'py311'] +target_version = ['py38', 'py39', 'py310', 'py311', 'py312'] preview = true exclude = ''' /( diff --git a/setup.py b/setup.py index fcf4956..3ea15e7 100755 --- a/setup.py +++ b/setup.py @@ -33,6 +33,13 @@ def write_version_py(): LONG_DESCRIPTION = f.read() MAINTAINER = "Zillow Group AI Team" LICENSE = "Apache License 2.0" +URL = "https://zillow.github.io/quantile-forest" +DOWNLOAD_URL = "https://pypi.org/project/quantile-forest/#files" +PROJECT_URLS = { + "Documentation": "https://zillow.github.io/quantile-forest", + "Source": "https://github.com/zillow/quantile-forest", + "Tracker": "https://github.com/zillow/quantile-forest/issues", +} VERSION = __version__ CLASSIFIERS = [ "Intended Audience :: Science/Research", @@ -49,6 +56,7 @@ def write_version_py(): "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Programming Language :: Python :: Implementation :: CPython", ] @@ -83,6 +91,9 @@ def setup_package(): maintainer=MAINTAINER, description=DESCRIPTION, license=LICENSE, + url=URL, + download_url=DOWNLOAD_URL, + project_urls=PROJECT_URLS, version=VERSION, long_description=LONG_DESCRIPTION, long_description_content_type="text/markdown",