Skip to content

Commit d0f1cfb

Browse files
authored
Properly define 'delphin' command on install (#387)
* Add CI test for delphin command * Use proper key in pyproject.toml
1 parent 1bcc648 commit d0f1cfb

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.github/workflows/checks.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,7 @@ jobs:
3535
python-version: ${{ matrix.python-version }}
3636
- name: Install Hatch
3737
run: pipx install hatch
38+
- name: Check Command and Version
39+
run: hatch run delphin -V
3840
- name: Test
3941
run: hatch run dev:test

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
### Unreleased
44

5+
### Fixed
6+
7+
* Properly define `delphin` command in pyproject.toml ([#386])
8+
9+
510
## [v1.9.0]
611

712
**Release date: 2023-12-11**
@@ -1636,3 +1641,4 @@ information about changes, except for
16361641
[#378]: https://github.com/delph-in/pydelphin/issues/378
16371642
[#379]: https://github.com/delph-in/pydelphin/issues/379
16381643
[#383]: https://github.com/delph-in/pydelphin/issues/383
1644+
[#386]: https://github.com/delph-in/pydelphin/issues/386

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ repp = [
4646
"regex"
4747
]
4848

49-
[projects.scripts]
49+
[project.scripts]
5050
delphin = "delphin.main:main"
5151

5252
[project.urls]

0 commit comments

Comments
 (0)