Skip to content

Commit

Permalink
Merge pull request #18 from erlete:package-rename
Browse files Browse the repository at this point in the history
Rename package
  • Loading branch information
erlete committed Jan 20, 2024
2 parents 0a4ad1b + 9d06050 commit 73b7ee1
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 9 deletions.
10 changes: 6 additions & 4 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
Expand All @@ -24,10 +25,11 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

**Environment (please complete the following information):**
- OS: [e.g. Windows 10]
- Python setup: [e.g. Python 3.10]
- Package manager [e.g. `pip`]
- Package version [e.g. `coordinate-canvas==1.4.1`]

- OS: [e.g. Windows 10]
- Python setup: [e.g. Python 3.10]
- Package manager [e.g. `pip`]
- Package version [e.g. `ccanvas==1.4.1`]

**Additional context**
Add any other context about the problem here.
2 changes: 1 addition & 1 deletion .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
run: python -m pip install .[test]

- name: Test with PyTest
run: python -m pytest --color=yes --capture=no --cov-config=.coveragerc --cov-report=lcov --cov=src/coordinate_canvas
run: python -m pytest --color=yes --capture=no --cov-config=.coveragerc --cov-report=lcov --cov=src/ccanvas

- name: Upload coverage file artifact
uses: actions/upload-artifact@v3
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ Interactive canvas that allows you to draw 2D coordinates in a plane and output
## Installation

```bash
python -m pip install coordinate-canvas # Use dash instead of underscore!
python -m pip install ccanvas # Use dash instead of underscore!
```

## Usage

You can display the help message by running the following command:

```bash
python -m coordinate_canvas --help # Use underscore instead of dash!
python -m ccanvas --help # Use underscore instead of dash!
```

Once the canvas has been opened, you will be able to click on any part of it and add a new coordinate. Lines can be switched using the numeric pad on the keyboard, as explained on the header of the window.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "coordinate-canvas"
name = "ccanvas"
version = "1.5.1"
description = "Matplotlib-based canvas that allows line drawing and coordinate retrieval"
readme = "README.md"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from ..core.canvas import Canvas


@click.command("coordinate-canvas")
@click.command("ccanvas")
@click.option(
"--width",
"-w",
Expand Down

0 comments on commit 73b7ee1

Please sign in to comment.