diff --git a/README.rst b/README.rst index 646409c..f1916ca 100644 --- a/README.rst +++ b/README.rst @@ -67,7 +67,7 @@ customized :code:`unasync.Rule` instances to :code:`unasync.cmdclass_build_py()` # This rule's 'fromdir' is more specific so will take precedent # over the above rule if the path is within /ahip/tests/... # This rule adds an additional token replacement over the default replacements. - unasync.Rule("/ahip/tests/", "/hip/tests/", replacements={"ahip": "hip"}), + unasync.Rule("/ahip/tests/", "/hip/tests/", additional_replacements={"ahip": "hip"}), ])}, ... ) diff --git a/src/unasync/__init__.py b/src/unasync/__init__.py index 7ea5e80..db4c0d9 100644 --- a/src/unasync/__init__.py +++ b/src/unasync/__init__.py @@ -14,6 +14,7 @@ __all__ = [ "Rule", + "unasync_files", "cmdclass_build_py", ]