Skip to content

Commit

Permalink
Remove lib from .gitignore so it is included in sdist
Browse files Browse the repository at this point in the history
- make numpy a non-optional dependency
- bump version
  • Loading branch information
lkeegan committed Jan 15, 2024
1 parent 979f9af commit 09c2e2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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="[email protected]"}]
maintainers=[{name="Liam Keegan", email="[email protected]"}]
requires-python = ">=3.7"
dependencies = ["numpy"]
keywords = ["pybind11", "cibuildwheel", "c++", "pypi", "numpy", "simple", "example"]
classifiers=[
"Programming Language :: C++",
Expand All @@ -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]
Expand Down

0 comments on commit 09c2e2a

Please sign in to comment.