From c0838ce9b43ce98ebb332c67a21b5b62804db9bc Mon Sep 17 00:00:00 2001 From: Young Date: Fri, 16 Aug 2024 04:22:18 +0000 Subject: [PATCH] Copier update --- .copier-answers.yml | 4 ++-- .devcontainer/Dockerfile | 4 ++-- README.md | 4 ++-- docs/cli/index.md | 2 +- docs/conf.py | 2 +- pyproject.toml | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index 92a4e7c..a2c5b85 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -12,12 +12,12 @@ max_py: '3.12' min_py: '3.8' module_name: wan organization_name: '' -package_name: wan +package_name: wanot platforms: - macos - ubuntu - windows -project_description: 'Wait and notify conveniently' +project_description: Wait and notify conveniently project_name: WAN readme_content: "\n\n# Wait And Notify(WAN)\nThis package is under development. We\ \ will release it soon in the future.\n\n\n\n# Installation\n\nYou can install\ diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index a57bd5d..2146df7 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -75,7 +75,7 @@ RUN --mount=source=README.md,target=README.md \ --mount=source=pdm.lock,target=pdm.lock \ --mount=source=pyproject.toml,target=pyproject.toml \ --mount=source=src,target=src,rw \ - mkdir __pypackages__ && SETUPTOOLS_SCM_PRETEND_VERSION_FOR_WAN=${SCM_VERSION} pdm sync --prod --no-editable + mkdir __pypackages__ && SETUPTOOLS_SCM_PRETEND_VERSION_FOR_WANOT=${SCM_VERSION} pdm sync --prod --no-editable ######################################################################################## # Prod image is used for deployment and distribution. @@ -100,4 +100,4 @@ COPY --from=build /workspace/__pypackages__/${PYTHON_VERSION}/lib /workspace/pkg COPY --from=build /workspace/__pypackages__/${PYTHON_VERSION}/bin/* /usr/local/bin/ # Set command to run the cli by default. -ENTRYPOINT ["wan-cli"] +ENTRYPOINT ["wanot-cli"] diff --git a/README.md b/README.md index 91199a2..c0bf233 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,8 @@ Wait and notify conveniently [![Semantic Release](https://github.com/you-n-g/wan/actions/workflows/semantic-release.yml/badge.svg)](https://github.com/you-n-g/wan/actions/workflows/semantic-release.yml) [![Coverage](https://img.shields.io/endpoint?url=https://you-n-g.github.io/wan/_static/badges/coverage.json)](https://you-n-g.github.io/wan/reports/coverage) [![Release](https://img.shields.io/github/v/release/you-n-g/wan)](https://github.com/you-n-g/wan/releases) -[![PyPI](https://img.shields.io/pypi/v/wan)](https://pypi.org/project/wan/) -[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/wan)](https://pypi.org/project/wan/) +[![PyPI](https://img.shields.io/pypi/v/wanot)](https://pypi.org/project/wanot/) +[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/wanot)](https://pypi.org/project/wanot/) [![GitHub](https://img.shields.io/github/license/you-n-g/wan)](https://github.com/you-n-g/wan/blob/main/LICENSE) [![pdm-managed](https://img.shields.io/badge/pdm-managed-blueviolet)](https://pdm-project.org) diff --git a/docs/cli/index.md b/docs/cli/index.md index d41bb3c..a19f6b9 100644 --- a/docs/cli/index.md +++ b/docs/cli/index.md @@ -2,6 +2,6 @@ ```{eval-rst} .. click:: wan.cli:typer_click_object - :prog: wan-cli + :prog: wanot-cli :nested: full ``` diff --git a/docs/conf.py b/docs/conf.py index 33bbcc4..04af306 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -12,7 +12,7 @@ author = "Xiao Yang" copyright = "2023, Xiao Yang" project = "WAN" -release = metadata.version("wan") +release = metadata.version("wanot") version = ".".join(release.split(".")[:2]) diff --git a/pyproject.toml b/pyproject.toml index 55011f3..878c811 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ requires = [ ] [project] -name = "wan" +name = "wanot" description = "Wait and notify conveniently" readme = "README.md" keywords = [