diff --git a/README.md b/README.md index b30c72c..59e26c9 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/examples/minimal-program/pyproject.toml b/examples/minimal-program/pyproject.toml index c906066..5e385f3 100644 --- a/examples/minimal-program/pyproject.toml +++ b/examples/minimal-program/pyproject.toml @@ -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] 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 8a60af1..cf80d13 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.0.11a0' \ No newline at end of file +__version__ = '0.0.11' \ No newline at end of file diff --git a/examples/minimal/README.md b/examples/minimal/README.md index 6226779..58e5fe6 100644 --- a/examples/minimal/README.md +++ b/examples/minimal/README.md @@ -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" ``` diff --git a/examples/minimal/pyproject.toml b/examples/minimal/pyproject.toml index 634445b..d473b67 100644 --- a/examples/minimal/pyproject.toml +++ b/examples/minimal/pyproject.toml @@ -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] diff --git a/examples/minimal/src-python/minimal/__init__.py b/examples/minimal/src-python/minimal/__init__.py index 9494d82..2db752a 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.0.11a0' \ No newline at end of file +__version__ = '0.0.11' \ No newline at end of file diff --git a/examples/pybind11-project/CMakeLists.txt b/examples/pybind11-project/CMakeLists.txt index 9cd0948..de1215c 100644 --- a/examples/pybind11-project/CMakeLists.txt +++ b/examples/pybind11-project/CMakeLists.txt @@ -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 diff --git a/examples/pybind11-project/pyproject.toml b/examples/pybind11-project/pyproject.toml index 0257182..a90c341 100644 --- a/examples/pybind11-project/pyproject.toml +++ b/examples/pybind11-project/pyproject.toml @@ -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] diff --git a/examples/pybind11-project/python-src/pybind11_project/__init__.py b/examples/pybind11-project/python-src/pybind11_project/__init__.py index 93477d3..ab3ece0 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.0.11a0' \ No newline at end of file +__version__ = '0.0.11' \ No newline at end of file diff --git a/noxfile.py b/noxfile.py index 433a701..b6c3db7 100644 --- a/noxfile.py +++ b/noxfile.py @@ -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", ".") @@ -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", ".") @@ -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') diff --git a/src/py_build_cmake/__init__.py b/src/py_build_cmake/__init__.py index 5bdaa2a..cde70f1 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 building Python packages with extensions built using CMake. """ -__version__ = '0.0.11a0' \ No newline at end of file +__version__ = '0.0.11' \ No newline at end of file