diff --git a/README.md b/README.md index cd4542b..7ed41c3 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ update_pyproject_toml_with_citation_cff() ```python from cff2toml import update_pyproject_toml_with_citation_cff +import os # update pyproject.toml with metadata # from CITATION.cff @@ -57,6 +58,7 @@ update_citation_cff_with_pyproject_toml() ```python from cff2toml import update_pyproject_toml_with_citation_cff +import os # update CITATION.cff with metadata # from pyprojects.cff @@ -70,16 +72,17 @@ update_citation_cff_with_pyproject_toml(citation_cff_file_path=citation_cff_file ### Setting the same version for both the pyprojects.toml file and CITATION.cff file ```python -from cff2toml import set_version_for_pyproject_toml_with_citation_cff +from cff2toml import set_version_for_pyproject_toml_and_citation_cff # set same version for pyproject.toml # and CITATION.cff where both files are # located in the working directory -set_version_for_pyproject_toml_with_citation_cff(version="2.0.0") +set_version_for_pyproject_toml_and_citation_cff(version="2.0.0") ``` ```python from cff2toml import update_pyproject_toml_with_citation_cff +import os # set same version for pyproject.toml # and CITATION.cff where both files diff --git a/pyproject.toml b/pyproject.toml index 7422e06..e1fcea8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "cff2toml" -version = "1.0.1" +version = "1.1.0" description = "A module to synchronize metadata between TOML and CFF files, including between pyproject.toml and CITATION.cff files." readme = "README.md" requires-python = ">=3.8"