From c347819195f72f943aec4d21c117f10b02ce1857 Mon Sep 17 00:00:00 2001 From: Pieter Pas Date: Mon, 21 Aug 2023 01:40:38 +0200 Subject: [PATCH] Version 0.2.0a5 --- README.md | 2 +- .../debug/pyproject.toml | 6 +++--- .../minimal-debug-component/pyproject.toml | 4 ++-- .../src-python/minimal_comp/__init__.py | 2 +- examples/minimal-program/pyproject.toml | 2 +- .../minimal_program_module/__init__.py | 2 +- examples/minimal/README.md | 2 +- examples/minimal/pyproject.toml | 2 +- .../minimal/src-python/minimal/__init__.py | 2 +- examples/nanobind-project/CMakeLists.txt | 2 +- examples/nanobind-project/pyproject.toml | 2 +- .../python-src/nanobind_project/__init__.py | 2 +- examples/pybind11-project/CMakeLists.txt | 2 +- examples/pybind11-project/pyproject.toml | 2 +- .../python-src/pybind11_project/__init__.py | 2 +- noxfile.py | 2 +- scripts/list_contents.py | 20 +++++++++---------- src/py_build_cmake/__init__.py | 2 +- 18 files changed, 30 insertions(+), 30 deletions(-) diff --git a/README.md b/README.md index 93e392f..15aa3fe 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ dependencies = ["numpy"] dynamic = ["version", "description"] [build-system] # How pip and other frontends should build this project -requires = ["py-build-cmake~=0.2.0a5.dev0"] +requires = ["py-build-cmake~=0.2.0a5"] build-backend = "py_build_cmake.build" [tool.py-build-cmake.module] # Where to find the Python module to package diff --git a/examples/minimal-debug-component/debug/pyproject.toml b/examples/minimal-debug-component/debug/pyproject.toml index 23ce9cd..2c63a5e 100644 --- a/examples/minimal-debug-component/debug/pyproject.toml +++ b/examples/minimal-debug-component/debug/pyproject.toml @@ -7,12 +7,12 @@ authors = [{ "name" = "Pieter P", "email" = "pieter.p.dev@outlook.com" }] keywords = ["addition", "subtraction", "pybind11"] classifiers = [] urls = { "Documentation" = "https://tttapa.github.io/" } -dependencies = ["minimal-comp==0.2.0a5.dev0"] -version = "0.2.0a5.dev0" +dependencies = ["minimal-comp==0.2.0a5"] +version = "0.2.0a5" description = "Debug symbols for the minimal package." [build-system] -requires = ["py-build-cmake~=0.2.0a5.dev0", "pybind11", "pybind11-stubgen"] +requires = ["py-build-cmake~=0.2.0a5", "pybind11", "pybind11-stubgen"] build-backend = "py_build_cmake.build_component" [tool.py-build-cmake.component] diff --git a/examples/minimal-debug-component/pyproject.toml b/examples/minimal-debug-component/pyproject.toml index aca551a..a7caf52 100644 --- a/examples/minimal-debug-component/pyproject.toml +++ b/examples/minimal-debug-component/pyproject.toml @@ -24,10 +24,10 @@ dynamic = ["version", "description"] [project.optional-dependencies] docs = ["sphinx~=5.1", "matplotlib", "breathe", "furo"] -debug = ["minimal-debug==0.2.0a5.dev0"] +debug = ["minimal-debug==0.2.0a5"] [build-system] -requires = ["py-build-cmake~=0.2.0a5.dev0"] +requires = ["py-build-cmake~=0.2.0a5"] build-backend = "py_build_cmake.build" [tool.py-build-cmake.module] diff --git a/examples/minimal-debug-component/src-python/minimal_comp/__init__.py b/examples/minimal-debug-component/src-python/minimal_comp/__init__.py index 3f4e258..6c38d35 100644 --- a/examples/minimal-debug-component/src-python/minimal_comp/__init__.py +++ b/examples/minimal-debug-component/src-python/minimal_comp/__init__.py @@ -1,4 +1,4 @@ """ A simple, minimal example of building a Python C module using CMake. """ -__version__ = "0.2.0a5.dev0" \ No newline at end of file +__version__ = "0.2.0a5" \ No newline at end of file diff --git a/examples/minimal-program/pyproject.toml b/examples/minimal-program/pyproject.toml index 1351245..87d502c 100644 --- a/examples/minimal-program/pyproject.toml +++ b/examples/minimal-program/pyproject.toml @@ -23,7 +23,7 @@ dependencies = [] dynamic = ["version", "description"] [build-system] -requires = ["py-build-cmake~=0.2.0a5.dev0"] +requires = ["py-build-cmake~=0.2.0a5"] build-backend = "py_build_cmake.build" [tool.py-build-cmake.module] diff --git a/examples/minimal-program/src-python/minimal_program_module/__init__.py b/examples/minimal-program/src-python/minimal_program_module/__init__.py index 0fad143..0d64f99 100644 --- a/examples/minimal-program/src-python/minimal_program_module/__init__.py +++ b/examples/minimal-program/src-python/minimal_program_module/__init__.py @@ -1,4 +1,4 @@ """ A simple, minimal example of building a C++ program using CMake. """ -__version__ = "0.2.0a5.dev0" \ No newline at end of file +__version__ = "0.2.0a5" \ No newline at end of file diff --git a/examples/minimal/README.md b/examples/minimal/README.md index 30ed58d..67517ca 100644 --- a/examples/minimal/README.md +++ b/examples/minimal/README.md @@ -125,7 +125,7 @@ for more information about specific options. More information about the ```toml [build-system] -requires = ["py-build-cmake~=0.2.0a5.dev0"] +requires = ["py-build-cmake~=0.2.0a5"] build-backend = "py_build_cmake.build" ``` diff --git a/examples/minimal/pyproject.toml b/examples/minimal/pyproject.toml index caef8fe..71a2cc2 100644 --- a/examples/minimal/pyproject.toml +++ b/examples/minimal/pyproject.toml @@ -23,7 +23,7 @@ dependencies = [] dynamic = ["version", "description"] [build-system] -requires = ["py-build-cmake~=0.2.0a5.dev0"] +requires = ["py-build-cmake~=0.2.0a5"] build-backend = "py_build_cmake.build" [tool.py-build-cmake.module] diff --git a/examples/minimal/src-python/minimal/__init__.py b/examples/minimal/src-python/minimal/__init__.py index 3f4e258..6c38d35 100644 --- a/examples/minimal/src-python/minimal/__init__.py +++ b/examples/minimal/src-python/minimal/__init__.py @@ -1,4 +1,4 @@ """ A simple, minimal example of building a Python C module using CMake. """ -__version__ = "0.2.0a5.dev0" \ No newline at end of file +__version__ = "0.2.0a5" \ No newline at end of file diff --git a/examples/nanobind-project/CMakeLists.txt b/examples/nanobind-project/CMakeLists.txt index a19c9f8..009ba37 100644 --- a/examples/nanobind-project/CMakeLists.txt +++ b/examples/nanobind-project/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.26) project(nanobind-project VERSION 0.2.0) -set(PY_VERSION_SUFFIX "a5.dev0") +set(PY_VERSION_SUFFIX "a5") set(PY_FULL_VERSION ${PROJECT_VERSION}${PY_VERSION_SUFFIX}) # Make sure that the Python and CMake versions match diff --git a/examples/nanobind-project/pyproject.toml b/examples/nanobind-project/pyproject.toml index 9ca2633..4abb257 100644 --- a/examples/nanobind-project/pyproject.toml +++ b/examples/nanobind-project/pyproject.toml @@ -25,7 +25,7 @@ dynamic = ["version", "description"] add = "nanobind_project.add:main" [build-system] -requires = ["py-build-cmake~=0.2.0a5.dev0", "nanobind~=1.5.0", "nanobind-stubgen~=0.1.1"] +requires = ["py-build-cmake~=0.2.0a5", "nanobind~=1.5.0", "nanobind-stubgen~=0.1.1"] build-backend = "py_build_cmake.build" [tool.py-build-cmake.module] diff --git a/examples/nanobind-project/python-src/nanobind_project/__init__.py b/examples/nanobind-project/python-src/nanobind_project/__init__.py index 48d9217..4473b5c 100644 --- a/examples/nanobind-project/python-src/nanobind_project/__init__.py +++ b/examples/nanobind-project/python-src/nanobind_project/__init__.py @@ -1,2 +1,2 @@ """Example project using the py-build-cmake build backend and nanobind.""" -__version__ = "0.2.0a5.dev0" \ No newline at end of file +__version__ = "0.2.0a5" \ No newline at end of file diff --git a/examples/pybind11-project/CMakeLists.txt b/examples/pybind11-project/CMakeLists.txt index b66fc8b..55fa41c 100644 --- a/examples/pybind11-project/CMakeLists.txt +++ b/examples/pybind11-project/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.17) project(pybind11-project VERSION 0.2.0) -set(PY_VERSION_SUFFIX "a5.dev0") +set(PY_VERSION_SUFFIX "a5") set(PY_FULL_VERSION ${PROJECT_VERSION}${PY_VERSION_SUFFIX}) # Make sure that the Python and CMake versions match diff --git a/examples/pybind11-project/pyproject.toml b/examples/pybind11-project/pyproject.toml index 00606ef..6128f7e 100644 --- a/examples/pybind11-project/pyproject.toml +++ b/examples/pybind11-project/pyproject.toml @@ -29,7 +29,7 @@ add = "pybind11_project.add:main" test = ["pytest>=7.2.0,<7.5"] [build-system] -requires = ["py-build-cmake~=0.2.0a5.dev0", "pybind11", "pybind11-stubgen"] +requires = ["py-build-cmake~=0.2.0a5", "pybind11", "pybind11-stubgen"] build-backend = "py_build_cmake.build" [tool.py-build-cmake.module] diff --git a/examples/pybind11-project/python-src/pybind11_project/__init__.py b/examples/pybind11-project/python-src/pybind11_project/__init__.py index b35abc7..a41c76b 100644 --- a/examples/pybind11-project/python-src/pybind11_project/__init__.py +++ b/examples/pybind11-project/python-src/pybind11_project/__init__.py @@ -1,2 +1,2 @@ """Example project using the py-build-cmake build backend and pybind11.""" -__version__ = "0.2.0a5.dev0" \ No newline at end of file +__version__ = "0.2.0a5" \ No newline at end of file diff --git a/noxfile.py b/noxfile.py index 1c2d8eb..c313b3c 100644 --- a/noxfile.py +++ b/noxfile.py @@ -29,7 +29,7 @@ else: import sysconfig as dist_sysconfig -version = "0.2.0a5.dev0" +version = "0.2.0a5" project_dir = Path(__file__).resolve().parent examples = "minimal-program", "pybind11-project", "nanobind-project", "minimal" diff --git a/scripts/list_contents.py b/scripts/list_contents.py index 9147c22..c7ab58a 100644 --- a/scripts/list_contents.py +++ b/scripts/list_contents.py @@ -2,19 +2,19 @@ from tarfile import open as tar_open tar_files = [ - "examples/minimal-program/dist-nox/minimal_program-0.2.0a5.dev0.tar.gz", - "examples/minimal/dist-nox/minimal-0.2.0a5.dev0.tar.gz", - "examples/pybind11-project/dist-nox/pybind11_project-0.2.0a5.dev0.tar.gz", - "examples/nanobind-project/dist-nox/nanobind_project-0.2.0a5.dev0.tar.gz", + "examples/minimal-program/dist-nox/minimal_program-0.2.0a5.tar.gz", + "examples/minimal/dist-nox/minimal-0.2.0a5.tar.gz", + "examples/pybind11-project/dist-nox/pybind11_project-0.2.0a5.tar.gz", + "examples/nanobind-project/dist-nox/nanobind_project-0.2.0a5.tar.gz", ] zip_files = [ - "examples/minimal-program/dist-nox/minimal_program-0.2.0a5.dev0-py3-none-linux_x86_64.whl", - "examples/minimal/dist-nox/minimal-0.2.0a5.dev0-cp39-cp39-linux_x86_64.whl", - "examples/pybind11-project/dist-nox/pybind11_project-0.2.0a5.dev0-cp39-cp39-linux_x86_64.whl", - "examples/nanobind-project/dist-nox/nanobind_project-0.2.0a5.dev0-cp39-cp39-linux_x86_64.whl", - "examples/minimal-debug-component/dist-nox/minimal_comp-0.2.0a5.dev0-cp39-cp39-linux_x86_64.whl", - "examples/minimal-debug-component/dist-nox/minimal_comp_debug-0.2.0a5.dev0-cp39-cp39-linux_x86_64.whl", + "examples/minimal-program/dist-nox/minimal_program-0.2.0a5-py3-none-linux_x86_64.whl", + "examples/minimal/dist-nox/minimal-0.2.0a5-cp39-cp39-linux_x86_64.whl", + "examples/pybind11-project/dist-nox/pybind11_project-0.2.0a5-cp39-cp39-linux_x86_64.whl", + "examples/nanobind-project/dist-nox/nanobind_project-0.2.0a5-cp39-cp39-linux_x86_64.whl", + "examples/minimal-debug-component/dist-nox/minimal_comp-0.2.0a5-cp39-cp39-linux_x86_64.whl", + "examples/minimal-debug-component/dist-nox/minimal_comp_debug-0.2.0a5-cp39-cp39-linux_x86_64.whl", ] for f in tar_files: diff --git a/src/py_build_cmake/__init__.py b/src/py_build_cmake/__init__.py index 923e162..749bd6c 100644 --- a/src/py_build_cmake/__init__.py +++ b/src/py_build_cmake/__init__.py @@ -2,4 +2,4 @@ Modern, PEP 517 compliant build backend for creating Python packages with extensions built using CMake. """ -__version__ = "0.2.0a5.dev0" +__version__ = "0.2.0a5"