Skip to content

Commit

Permalink
Move to hatchling for builds (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
brettcannon authored Mar 14, 2023
1 parent 709388e commit 4fb4d7d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- run: pipx run nox -s build
- run: pipx run build
6 changes: 0 additions & 6 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,3 @@ def lint(session):
session.install(".[lint]")
session.run("ruff", "check", ".")
session.run("black", "--check", ".")


@nox.session
def build(session):
session.install("flit")
session.run("flit", "build")
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
requires = ["hatchling"]
build-backend = "hatchling.build"


[project]
name = "microvenv"
Expand Down

0 comments on commit 4fb4d7d

Please sign in to comment.