Skip to content

Commit

Permalink
Version 0.0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
tttapa committed Jul 17, 2022
1 parent 0fc5cd5 commit c7b97b6
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ dependencies = ["numpy"]
dynamic = ["version", "description"]

[build-system] # How pip and other frontends should build this project
requires = ["py-build-cmake~=0.0.11a0"]
requires = ["py-build-cmake~=0.0.11"]
build-backend = "py_build_cmake.build"

[tool.py-build-cmake.module] # Where to find the Python module to package
Expand Down
2 changes: 1 addition & 1 deletion examples/minimal-program/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies = []
dynamic = ["version", "description"]

[build-system]
requires = ["py-build-cmake~=0.0.11a0"]
requires = ["py-build-cmake~=0.0.11"]
build-backend = "py_build_cmake.build"

[tool.py-build-cmake.module]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""
A simple, minimal example of building a C++ program using CMake.
"""
__version__ = '0.0.11a0'
__version__ = '0.0.11'
2 changes: 1 addition & 1 deletion examples/minimal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ detail.

```toml
[build-system]
requires = ["py-build-cmake~=0.0.11a0"]
requires = ["py-build-cmake~=0.0.11"]
build-backend = "py_build_cmake.build"
```

Expand Down
2 changes: 1 addition & 1 deletion examples/minimal/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies = []
dynamic = ["version", "description"]

[build-system]
requires = ["py-build-cmake~=0.0.11a0"]
requires = ["py-build-cmake~=0.0.11"]
build-backend = "py_build_cmake.build"

[tool.py-build-cmake.module]
Expand Down
2 changes: 1 addition & 1 deletion examples/minimal/src-python/minimal/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""
A simple, minimal example of building a Python C module using CMake.
"""
__version__ = '0.0.11a0'
__version__ = '0.0.11'
2 changes: 1 addition & 1 deletion examples/pybind11-project/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.17)
project(py-build-cmake VERSION 0.0.11)
set(PY_VERSION_SUFFIX "a0")
set(PY_VERSION_SUFFIX "")
set(PY_FULL_VERSION ${PROJECT_VERSION}${PY_VERSION_SUFFIX})

# Make sure that the Python and CMake versions match
Expand Down
2 changes: 1 addition & 1 deletion examples/pybind11-project/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ dynamic = ["version", "description"]
add = "pybind11_project.add:main"

[build-system]
requires = ["py-build-cmake~=0.0.11a0", "pybind11", "pybind11-stubgen"]
requires = ["py-build-cmake~=0.0.11", "pybind11", "pybind11-stubgen"]
build-backend = "py_build_cmake.build"

[tool.py-build-cmake.module]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""Example project using the py-build-cmake build backend and pybind11."""
__version__ = '0.0.11a0'
__version__ = '0.0.11'
6 changes: 3 additions & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def example_projects(session: nox.Session):
session.run("python", "-m", "build", ".")
dist_dir = "dist"
session.env["PIP_FIND_LINKS"] = os.path.abspath(dist_dir)
session.install("py-build-cmake~=0.0.11a0")
session.install("py-build-cmake~=0.0.11")
with session.chdir("examples/minimal"):
shutil.rmtree('.py-build-cmake_cache', ignore_errors=True)
session.run("python", "-m", "build", ".")
Expand All @@ -37,7 +37,7 @@ def editable(session: nox.Session):
session.run("python", "-m", "build", ".")
dist_dir = "dist"
session.env["PIP_FIND_LINKS"] = os.path.abspath(dist_dir)
session.install("py-build-cmake~=0.0.11a0")
session.install("py-build-cmake~=0.0.11")
with session.chdir("examples/pybind11-project"):
shutil.rmtree('.py-build-cmake_cache', ignore_errors=True)
session.install("-e", ".")
Expand All @@ -50,7 +50,7 @@ def tests(session: nox.Session):
dist_dir = os.getenv('PY_BUILD_CMAKE_WHEEL_DIR')
if dist_dir:
session.env["PIP_FIND_LINKS"] = os.path.abspath(dist_dir)
session.install("py-build-cmake~=0.0.11a0")
session.install("py-build-cmake~=0.0.11")
else:
session.install(".")
session.run('pytest')
2 changes: 1 addition & 1 deletion src/py_build_cmake/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Modern, PEP 517 compliant build backend for building Python packages with
extensions built using CMake.
"""
__version__ = '0.0.11a0'
__version__ = '0.0.11'

0 comments on commit c7b97b6

Please sign in to comment.