From 77b146370953aa265a12ab4addfca3321a5e6277 Mon Sep 17 00:00:00 2001 From: Thomas Guymer Date: Sun, 12 Jan 2025 11:44:12 +0000 Subject: [PATCH] add an example Python project definition --- pyproject.toml | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..55a412e --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,47 @@ +# NOTE: See https://packaging.python.org/en/latest/tutorials/packaging-projects/ +# NOTE: See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/ +# NOTE: See https://packaging.python.org/en/latest/specifications/pyproject-toml/ + +[build-system] +requires = [ + "setuptools", # NOTE: See https://setuptools.pypa.io/en/latest/userguide/ + "setuptools_scm", # NOTE: See https://setuptools-scm.readthedocs.io/en/latest/usage/ +] +build-backend = "setuptools.build_meta" + +[project] +name = "FMC" +description = "Flight Map Creator" +dynamic = ["version"] +readme = "README.md" +license = {text = "Apache-2.0"} +authors = [ + {name = "Thomas Guymer"} +] +maintainers = [ + {name = "Thomas Guymer"} +] +classifiers = [ # NOTE: See https://pypi.org/classifiers/ + "Development Status :: 5 - Production/Stable", + "Environment :: Console", + "Intended Audience :: End Users/Desktop", + "License :: OSI Approved :: Apache Software License", + "Natural Language :: English", + "Operating System :: MacOS :: MacOS X", + "Operating System :: POSIX :: BSD :: FreeBSD", + "Operating System :: POSIX :: Linux", + "Programming Language :: Python :: 3", +] +dependencies = [ # NOTE: See "requirements.txt" + "cartopy", + "matplotlib", + "pyguymer3", +] +requires-python = ">=3.10" + +[project.urls] +Homepage = "https://github.com/Guymer/fmc" +Issues = "https://github.com/Guymer/fmc/issues" +Funding = "https://github.com/sponsors/Guymer" + +[tool.setuptools_scm]