From dad4789ed5820f3a50eaf122bf76aa325d3b53d4 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Thu, 1 Aug 2024 15:51:51 -0700 Subject: [PATCH] define project --- pyproject.toml | 30 +++++++++++++++++++++++++----- setup.py | 0 2 files changed, 25 insertions(+), 5 deletions(-) create mode 100644 setup.py diff --git a/pyproject.toml b/pyproject.toml index cfb6c2c6e7..316b924a08 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,11 +1,31 @@ -[tool.poetry] +[build-system] +requires = ["setuptools"] +build-backend = "setuptools.build_meta" + +[project] name = "opendbc" version = "1.0.0" -description = "CAN bus databases and tools" -license = "MIT" -authors = ["Vehicle Researcher "] +description = "CAN bus databases, tools, and car APIs" +license = {file = "LICENSE"} +authors = [{ name="Vehicle Researcher", email="user@comma.ai" }] readme = "README.md" -repository = "https://github.com/commaai/opendbc" +requires-python = ">=3.9" + +dependencies = [ + "ruff", + "Cython", + "Jinja2", + "numpy", + "pycapnp", + "pyyaml", + "scons", + "pytest", + "pytest-xdist", + "pytest-subtests", +] + +[project.urls] +homepage = "https://github.com/commaai/opendbc" [tool.cython-lint] max-line-length = 120 diff --git a/setup.py b/setup.py new file mode 100644 index 0000000000..e69de29bb2