Skip to content

Commit

Permalink
packaging stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
salotz committed Mar 6, 2024
1 parent 7f93c87 commit d46cbd9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -169,3 +169,6 @@ dmypy.json
.prof

# End of https://www.toptal.com/developers/gitignore/api/osx,python

# Emacs
*~
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,5 +256,9 @@ hatch run format
hatch run test
```

### Building
### Building and Publishing

```sh
hatch build
hatch publish
```
4 changes: 4 additions & 0 deletions hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ format_check = "black --check src tests test_data"
lint = "ruff check src tests"
typecheck = "mypy src"
test = "pytest tests"

[build.targets.sdist]

packages = ["src/pytest_checklist"]
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ readme = 'README.md'
license = "MIT"

authors = [
{ name = "Jack Klimov" },
{ name = "Samuel Lotz", email = "[email protected]"},
{ name = "Jack Klimov" },
]
maintainers = [
{ name = "Samuel Lotz", email = "[email protected]"},
Expand Down

0 comments on commit d46cbd9

Please sign in to comment.