From 25093ece8fa9706d2adef9079869f58d08795b79 Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Fri, 18 Oct 2024 15:46:49 -0700 Subject: [PATCH] pyproject.toml dependencies --- README.md | 4 ++-- circuitmatter/__init__.py | 2 +- pyproject.toml | 7 +++++++ requirements.txt | 3 --- 4 files changed, 10 insertions(+), 6 deletions(-) delete mode 100644 requirements.txt diff --git a/README.md b/README.md index 572466e..97a573c 100644 --- a/README.md +++ b/README.md @@ -14,9 +14,9 @@ You do not need to pay anything or be a member organization. CircuitMatter is currently developed in CPython 3.12, the de facto implementation written in C. It is designed with minimal dependencies so that it can also be used on CircuitPython on microcontrollers. ### Requirements -After cloning the repo, install dependencies: +After cloning the repo, install flit for packaging: ```shell -pip install cryptography ecdsa qrcode flit +pip install flit ``` This project is based on [avahi tools](https://avahi.org). It must therefore be installed for it to work properly. diff --git a/circuitmatter/__init__.py b/circuitmatter/__init__.py index b1009ed..d778c2d 100644 --- a/circuitmatter/__init__.py +++ b/circuitmatter/__init__.py @@ -14,7 +14,7 @@ from . import session from .device_types.utility.root_node import RootNode -__version__ = "0.2.0" +__version__ = "0.2.1" class CircuitMatter: diff --git a/pyproject.toml b/pyproject.toml index 3989f20..382dc12 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,6 +8,13 @@ authors = [{name = "Scott Shawcroft", email = "scott@adafruit.com"}] license = {file = "LICENSE"} classifiers = ["License :: OSI Approved :: MIT License"] dynamic = ["version", "description"] +requires-python = ">=3.12" +readme = "README.md" +dependencies = [ + "cryptography", + "ecdsa", + "qrcode" +] [project.urls] Home = "https://github.com/adafruit/circuitmatter" diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index acc65ac..0000000 --- a/requirements.txt +++ /dev/null @@ -1,3 +0,0 @@ -cryptography -ecdsa -qrcode