diff --git a/autoconf/__init__.py b/autoconf/__init__.py index 9841531..18de095 100644 --- a/autoconf/__init__.py +++ b/autoconf/__init__.py @@ -1,3 +1,11 @@ +import sys + +if sys.version_info < (3, 12): + raise RuntimeError( + f"PyAutoConf requires Python 3.12 or later. " + f"You are running Python {sys.version_info.major}.{sys.version_info.minor}." + ) + from . import jax_wrapper from . import exc from .tools.decorators import cached_property diff --git a/pyproject.toml b/pyproject.toml index 2b79f57..bd1642d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ classifiers = [ "Topic :: Scientific/Engineering :: Physics", "Natural Language :: English", "Operating System :: OS Independent", - "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13" ] keywords = ["cli"] @@ -33,7 +33,7 @@ dependencies = [ ] [project.urls] -Homepage = "https://github.com/rhayes777/PyAutoConf" +Homepage = "https://github.com/PyAutoLabs/PyAutoConf" [tool.setuptools] include-package-data = true