From 8d43fe5867e0e966f7ff07834b1e1484fdc74753 Mon Sep 17 00:00:00 2001 From: derekpierre Date: Wed, 17 Jul 2024 11:43:32 -0400 Subject: [PATCH] Update pyproject.toml information. Update python tests job to directly use dev-requirements.txt. --- .github/workflows/pytest.yml | 2 +- pyproject.toml | 25 +++++++++++++++++++++---- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 02506dd..3815c44 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -40,7 +40,7 @@ jobs: run: python -m pip install --upgrade pip - name: Install Dependencies - run: pip install .[test] + run: pip install . -r dev-requirements.txt - name: Tests (Coverage) if: matrix.python-version == '3.12' diff --git a/pyproject.toml b/pyproject.toml index ca79240..c6f9c6c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,12 +1,13 @@ -[tool.poetry] +[project] name = "atxm" version = "0.3.0" authors = [ - "NuCypher ", + { name="NuCypher", email="devs@nucypher.com" }, ] description = "Automatic Transaction Machine (ATxM) for Ethereum" +license = {file = "LICENSE"} readme = "README.md" -repository = "https://github.com/nucypher/atxm" +requires-python = ">=3.9" classifiers = [ "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.9", @@ -22,10 +23,26 @@ classifiers = [ "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", ] -[tool.poetry.urls] +[tool.poetry] +name = "atxm" +version = "0.3.0" +authors = ["NuCypher"] +description = "Automatic Transaction Machine (ATxM) for Ethereum." + +[tool.setuptools.dynamic] +dependencies = {file = ["requirements.txt"]} +optional-dependencies = {test = { file = ["dev-requirements.txt"] }} + +[project.urls] Homepage = "https://github.com/nucypher/atxm" Issues = "https://github.com/nucypher/atxm/issues" +[build-system] +# These are the assumed default build requirements from pip: +# https://pip.pypa.io/en/stable/reference/pip/#pep-517-and-518-support +requires = ["setuptools>=43.0.0", "wheel"] +build-backend = "setuptools.build_meta" + [tool.poetry.dependencies] python = ">=3.9,<4"