From 09c2e2a728581907a488a57b6ad3c41cb1229584 Mon Sep 17 00:00:00 2001 From: Liam Keegan Date: Mon, 15 Jan 2024 14:46:40 +0100 Subject: [PATCH] Remove lib from .gitignore so it is included in sdist - make numpy a non-optional dependency - bump version --- .gitignore | 1 - pyproject.toml | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 4371d08..1b23695 100644 --- a/.gitignore +++ b/.gitignore @@ -47,7 +47,6 @@ dist/ downloads/ eggs/ .eggs/ -lib/ lib64/ parts/ sdist/ diff --git a/pyproject.toml b/pyproject.toml index 3cea7df..a90d6c2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,13 +4,14 @@ build-backend = "scikit_build_core.build" [project] name = "pybind11-numpy-example" -version = "0.0.10" +version = "0.0.11" description = "An example of using numpy with pybind11" readme = "README.md" license = {text = "MIT"} authors=[{name="Liam Keegan", email="liam@keegan.ch"}] maintainers=[{name="Liam Keegan", email="liam@keegan.ch"}] requires-python = ">=3.7" +dependencies = ["numpy"] keywords = ["pybind11", "cibuildwheel", "c++", "pypi", "numpy", "simple", "example"] classifiers=[ "Programming Language :: C++", @@ -34,7 +35,7 @@ Github = "https://github.com/ssciwr/pybind11-numpy-example" Documentation = "https://pybind11-numpy-example.readthedocs.io" [project.optional-dependencies] -test = ["pytest", "numpy"] +test = ["pytest"] docs = ["cmake", "breathe", "sphinx_rtd_theme"] [tool.scikit-build.cmake.define]