diff --git a/README.md b/README.md index ab8b7b4..b4f8788 100644 --- a/README.md +++ b/README.md @@ -10,24 +10,16 @@ Targeted at researchers in algorithmic model theory and curious practitioners al - **First-order logic interface** for formal queries - **Visualization tools** for insight into infinite structures -### Installation with `uv` -Here's how to install AutStr using `uv`, the high-performance Python package installer: - -#### Install with `uv` from local clone +### Installation ```bash -git clone https://github.com/fariedabuzaid/AutStr.git -cd AutStr - -# Install core package -uv lock -uv sync +pip install autstr ``` #### Verify Installation ```bash -uv run python -c "from autstr import __version__; print(f'AutStr v{__version__} installed')" -# Should output: AutStr v0.1 installed +python -c "from autstr import __version__; print(f'AutStr v{__version__} installed')" +# Should output: AutStr v1.0.1 installed ``` ## Getting started diff --git a/autstr/__init__.py b/autstr/__init__.py index e69de29..90f1ec8 100644 --- a/autstr/__init__.py +++ b/autstr/__init__.py @@ -0,0 +1,2 @@ +# autstr/__init__.py +from ._version import __version__ \ No newline at end of file diff --git a/autstr/_version.py b/autstr/_version.py new file mode 100644 index 0000000..1db9f09 --- /dev/null +++ b/autstr/_version.py @@ -0,0 +1,2 @@ +# autstr/_version.py +__version__ = "1.0.1" \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 7d0d29a..c0385d3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "autstr" -version = "1.0.0" +version = "1.0.1" description = "Library for working with finitely presentable infinite structures" authors = [ { name = "Faried Abu Zaid", email = "fariedaz@gmail.com" } @@ -35,3 +35,12 @@ packages = ["autstr"] [tool.uv] build-system = "setuptools" packages = ["autstr", "autstr.utils"] + +[tool.poetry-dynamic-versioning] +enable = true +vcs = "git" +style = "semver" + +[tool.poetry-dynamic-versioning.substitution] +files = ["autstr/_version.py"] +pattern = '__version__ = ".*"'