diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0170746..74fe095 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,7 +27,7 @@ jobs: python-version: 3.12 - name: Install Dependencies 📦 - run: pip install -r requirements.txt + run: pip3 install -r requirements.txt - name: Build and Install Python Extension 🛠️ run: pip3 install src/ diff --git a/src/pyproject.toml b/src/pyproject.toml new file mode 100644 index 0000000..961cddd --- /dev/null +++ b/src/pyproject.toml @@ -0,0 +1,21 @@ +[build-system] +requires = ["setuptools>=45", "wheel", "Cython>=0.29"] +build-backend = "setuptools.build_meta" + +[project] +name = "cpp-python-extension" +version = "1.0.0" +description = "Example module written in C++ with Python bindings" +requires-python = ">=3.8" +dependencies = [ + "Cython>=0.29", +] + +[project.optional-dependencies] +dev = [ + "pytest", + "pytest-benchmark", +] + +[tool.setuptools] +packages = []