From 23091865ea91d8eb905b0db3a9db66b28a4d53c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Eertmans?= Date: Tue, 18 Jun 2024 22:57:42 +0200 Subject: [PATCH] fix(ci): add dynamic fields and badge --- README.md | 8 ++++++++ pyproject.toml | 16 +++++++++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7cd3b00..d88676e 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # sionna-vispy +[![Latest Release][pypi-version-badge]][pypi-version-url] +[![Python version][pypi-python-version-badge]][pypi-version-url] + A [VisPy](https://github.com/vispy/vispy) backend to preview [Sionna](https://github.com/NVlabs/sionna) scenes @@ -127,3 +130,8 @@ This project welcomes any contribution, and especially: As stated above, new features are not expected to be added, unless they are also added to the original pythreejs previewer. + +[pypi-version-badge]: https://img.shields.io/pypi/v/sionna-vispy?label=sionna-vispy +[pypi-version-url]: https://pypi.org/project/sionna-vispy/ +[pypi-python-version-badge]: https://img.shields.io/pypi/pyversions/sionna-vispy +[pypi-download-badge]: https://img.shields.io/pypi/dm/sionna-vispy diff --git a/pyproject.toml b/pyproject.toml index d9eb392..3eee0fc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,13 +6,27 @@ requires = ["hatchling", "hatch-fancy-pypi-readme"] authors = [ {name = "Jérome Eertmans", email = "jeertmans@icloud.com"}, ] +classifiers = [ + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + "Topic :: Multimedia :: Graphics", + "Topic :: Scientific/Engineering", +] dependencies = [ "sionna>=0.18.0", "vispy>=0.14.2", ] description = "VisPy scene previewer for Sionna" +dynamic = ["readme", "version"] +keywords = ["sionna", "vispy", "raytracing", "preview"] +license = "MIT" name = "sionna-vispy" -readme = "README.md" requires-python = ">= 3.8" [project.optional-dependencies]