From 381314f7960b7f0c7ff8f767abd51203842e6dc1 Mon Sep 17 00:00:00 2001 From: Brian Pond Date: Tue, 26 Mar 2024 12:31:13 -0700 Subject: [PATCH] Switch from setup.py to pyproject.toml --- pyproject.toml | 20 ++++++++++++++++++++ requirements.txt | 3 --- setup.py => setup.bak.py | 0 temporal/__init__.pyi | 5 ----- 4 files changed, 20 insertions(+), 8 deletions(-) create mode 100644 pyproject.toml delete mode 100644 requirements.txt rename setup.py => setup.bak.py (100%) delete mode 100644 temporal/__init__.pyi diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..55f261e --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,20 @@ +[project] +name = "temporal" +authors = [ + { name = "Datahenge LLC", email = "brian@datahenge.com"}, +] +description = "Time after Time" +requires-python = ">=3.10" +readme = "README.md" +dynamic = [ + "version" +] +license = {text = "GNU LESSER GENERAL PUBLIC LICENSE"} +dependencies = [ +] + +[tool.setuptools] +py-modules = ["temporal"] + +[tool.setuptools.dynamic] +version = {attr = "temporal.__version__"} diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 0aef5c6..0000000 --- a/requirements.txt +++ /dev/null @@ -1,3 +0,0 @@ -# Not yet; this would require refactoring time I don't have right now -frappe -# temporal-lib~=0.0.1 diff --git a/setup.py b/setup.bak.py similarity index 100% rename from setup.py rename to setup.bak.py diff --git a/temporal/__init__.pyi b/temporal/__init__.pyi deleted file mode 100644 index b07f5be..0000000 --- a/temporal/__init__.pyi +++ /dev/null @@ -1,5 +0,0 @@ -# This is a "stub file" for mypy -# pylint: skip-file - - -__version__ : str