Skip to content

Commit

Permalink
Copier update
Browse files Browse the repository at this point in the history
  • Loading branch information
you-n-g committed Aug 16, 2024
1 parent ee00059 commit c0838ce
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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\
Expand Down
4 changes: 2 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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"]
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

```{eval-rst}
.. click:: wan.cli:typer_click_object
:prog: wan-cli
:prog: wanot-cli
:nested: full
```
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ requires = [
]

[project]
name = "wan"
name = "wanot"
description = "Wait and notify conveniently"
readme = "README.md"
keywords = [
Expand Down

0 comments on commit c0838ce

Please sign in to comment.