Skip to content

Commit

Permalink
Setup python project infra to build pkg and wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
acv committed Oct 24, 2024
1 parent 8a33f2f commit a6a102f
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
.pytest_cache
__pycache__
.vscode
.coverage
.coverage
dist
Binary file modified dev-requirements.txt
Binary file not shown.
30 changes: 30 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "hl7lw"
version = "0.0.1"
authors = [
{ name="Alexandre Carmel-Veilleux", email="acv@miniguru.ca" },
]
description = "Super light weight Hl7 2.x parser"
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]

[project.urls]
Homepage = "https://github.com/acv/hl7lw"

[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
"/docs",
]

[tool.hatch.build.targets.wheel]
packages = ["src/hl7lw"]

0 comments on commit a6a102f

Please sign in to comment.