Skip to content

Commit

Permalink
include sql directory in artifact output
Browse files Browse the repository at this point in the history
  • Loading branch information
dlstadther committed Oct 17, 2023
1 parent c72ddd8 commit 4f631a3
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,21 @@ make doc-serve
```


## Distribution
```shell
# Build sdist and wheel
poetry build

# Only build wheel
poetry build --format wheel

# Publish to PYPI
# https://python-poetry.org/docs/repositories/#configuring-credentials
poetry config pypi-token.pypi <my-token>
poetry publish
```


# Pre-commit Hooks
Pre-Commit hooks run during `git commit ...` in order to apply checks for quality and format prior to commit.

Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ authors = ["Dillon Stadther"]
readme = "README.md"
repository = "https://github.com/dlstadther/sample-project-python"
packages = [
{ include = "sample", from = "src" },
{ include = "sample", from = "src" },
]
include = [
"sample/sql/*",
]

[build-system]
Expand Down

0 comments on commit 4f631a3

Please sign in to comment.