Skip to content

Commit

Permalink
Merge pull request #6 from claui/add-pep517-support
Browse files Browse the repository at this point in the history
Enable building sdist, wheel via `python -m build`
  • Loading branch information
aappleby authored Mar 22, 2024
2 parents 474e910 + 4c6b5ee commit 99cc8a1
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ bin
obj
gen
build
dist
__pycache__
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ![Logo](docs/hancho_small.png) Hancho
# ![Logo](https://github.com/aappleby/hancho/blob/main/docs/hancho_small.png?raw=true) Hancho

"班長, hanchō - "Squad leader”, from 19th c. Mandarin 班長 (bānzhǎng, “team leader”)"

Expand Down
35 changes: 35 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[build-system]
requires = ["poetry-core>=1.9.0"]
build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "hancho"
version = "0.0.5"
description = "A simple, pleasant build system"
license = "MIT"
authors = ["aappleby"]
readme = ["README.md", "docs/README.md"]
repository = "https://github.com/aappleby/hancho"
classifiers = [
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"Topic :: Utilities",
]
include = [
{ path = "docs", format = "sdist" },
{ path = "tests", format = "sdist" },
{ path = "tutorial", format = "sdist" },
{ path = "examples", format = "sdist" },
]
exclude = ["**/.gitignore"]

[tool.poetry.dependencies]
python = "^3.10"

[tool.poetry.scripts]
hancho = "hancho:app.main"

[tool.poetry.urls]
"Additional documentation" = "https://github.com/aappleby/hancho/tree/main/docs#readme"
"Tutorial" = "https://github.com/aappleby/hancho/tree/main/tutorial#readme"
"Issue tracker" = "https://github.com/aappleby/hancho/issues"

0 comments on commit 99cc8a1

Please sign in to comment.