From e7b97e8b8c90854a72ace663f2ff65494412c332 Mon Sep 17 00:00:00 2001 From: "Sam G." Date: Tue, 14 May 2024 20:01:06 -0700 Subject: [PATCH] update pyproject.toml --- LICENSE | 22 ++++++++++++++++++++++ pyproject.toml | 47 +++++++++++++++++++++++++++++++++++++++-------- 2 files changed, 61 insertions(+), 8 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..93f98c5 --- /dev/null +++ b/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2024 Sam Griesemer + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + diff --git a/pyproject.toml b/pyproject.toml index 472be41..95af36c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,25 +1,56 @@ [build-system] -requires = ["setuptools"] +requires = ["setuptools", "wheel", "setuptools-git-versioning>=2.0,<3"] build-backend = "setuptools.build_meta" +# populates dynamically set version with latest git tag +[tool.setuptools-git-versioning] +enabled = true + [project] -name = "execlog" -version = "0.4.1" -authors = [ - { name="Sam Griesemer", email="samgriesemer@gmail.com" }, -] +name = "execlib" description = "Lightweight multi-threaded job framework" readme = "README.md" requires-python = ">=3.12" +dynamic = ["version"] +license = {file = "LICENSE"} +authors = [ + { name="Sam Griesemer", email="samgriesemer+git@gmail.com" }, +] +keywords = ["concurrent", "async", "inotify"] classifiers = [ - "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.12", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", + "Development Status :: 3 - Alpha", + "Intended Audience :: Developers", ] dependencies = [ - "tqdm" + "tqdm", + "wcmatch", + "uvicorn", + "fastapi", + "colorama", + "starlette", + "inotify_simple", ] +[project.optional-dependencies] +tests = ["pytest", "websockets"] +docs = [ + "sphinx", + "sphinx-togglebutton", + "sphinx-autodoc-typehints", + "furo", + "myst-parser", +] + +[project.urls] +Homepage = "https://doc.olog.io/execlog" +Documentation = "https://doc.olog.io/execlog" +Repository = "https://git.olog.io/olog/execlog" +Issues = "https://git.olog.io/olog/execlog/issues" + + [tool.setuptools.packages.find] include = ["execlog*"] # pattern to match package names