diff --git a/pcre_ext/pcre2.c b/pcre_ext/pcre2.c index 31bf971..9f2460e 100644 --- a/pcre_ext/pcre2.c +++ b/pcre_ext/pcre2.c @@ -6051,7 +6051,7 @@ module_exec(PyObject *module) goto error_cache; } - if (PyModule_AddStringConstant(module, "__version__", "0.6.0") < 0) { + if (PyModule_AddStringConstant(module, "__version__", "0.6.1") < 0) { goto error_cache; } diff --git a/pyproject.toml b/pyproject.toml index b091e1e..72400ee 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,15 +4,15 @@ # Contact: qubitium@modelcloud.ai, x.com/qubitium [build-system] -requires = ["setuptools>=77.0.1,<83", "wheel", "cmake>=3.27", "ninja"] +requires = ["setuptools>=79.0.0,<85", "wheel", "cmake>=3.27", "ninja"] build-backend = "setuptools.build_meta" [project] name = "PyPcre" -version = "0.6.0" +version = "0.6.1" description = "Modern, GIL-friendly, Fast Python bindings for PCRE2 with auto caching and JIT of compiled patterns." readme = "README.md" -requires-python = ">=3.9" +requires-python = ">=3.10" license = "Apache-2.0" authors = [ { name = "ModelCloud", email = "qubitium@modelcloud.ai" }, @@ -32,7 +32,7 @@ classifiers = [ keywords = ["regex", "pcre2", "bindings"] [project.urls] -Homepage = "https://github.com/ModelCloud/pcre" +Homepage = "https://github.com/ModelCloud/PyPcre" [tool.setuptools] packages = ["pcre"] diff --git a/setup.py b/setup.py index 01884a7..6ec0935 100644 --- a/setup.py +++ b/setup.py @@ -308,4 +308,10 @@ def collect_build_config() -> dict[str, list[str] | list[tuple[str, str | None]] **collect_build_config(), ) -setup(ext_modules=[EXTENSION], cmdclass={"build_ext": build_ext}) +setup( + name="PyPcre", + version="0.6.1", + packages=["pcre"], + ext_modules=[EXTENSION], + cmdclass={"build_ext": build_ext}, +)