Skip to content

Commit

Permalink
Use hatch for packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed May 18, 2022
1 parent 05002ea commit f8d8b81
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
[build-system]
requires = ["flit_core >=3.4,<4"]
build-backend = "flit_core.buildapi"
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"

[project]
name = "manifestoo"
version = "0.4.3.dev"
description = "A tool to reason about Odoo addons manifests"
authors = [
{name = "Stéphane Bidoul", email = "[email protected]"}
Expand All @@ -26,6 +25,7 @@ dependencies = [
"importlib_metadata ; python_version<'3.8'",
]
requires-python = ">=3.6"
dynamic = ["version"]

[project.optional-dependencies]
test = [
Expand All @@ -50,8 +50,13 @@ Source = "https://github.com/sbidoul/manifestoo"
manifestoo = "manifestoo.main:app"
moo = "manifestoo.main:app"

[tool.flit.sdist]
exclude = [".github/"]
[tool.hatch.version]
source = "vcs"

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


[tool.isort]
Expand Down

0 comments on commit f8d8b81

Please sign in to comment.