Skip to content

Commit

Permalink
Merge pull request #79 from hugovk/setuptools-to-hatchling
Browse files Browse the repository at this point in the history
Replace setuptools with hatchling
  • Loading branch information
hugovk authored Feb 4, 2023
2 parents c211671 + 83d4d7a commit e9acce9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
21 changes: 11 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[build-system]
build-backend = "setuptools.build_meta"
build-backend = "hatchling.build"
requires = [
"setuptools>=61.2",
"setuptools_scm[toml]>=6.2",
"hatch-vcs",
"hatchling",
]

[project]
Expand Down Expand Up @@ -62,6 +62,14 @@ target_version = ["py37"]
[tool.hatch]
version.source = "vcs"

[tool.hatch.build]
artifacts = [
"*.mo",
]

[tool.hatch.version.raw-options]
local_scheme = "no-local-version"

[tool.isort]
profile = "black"

Expand All @@ -70,10 +78,3 @@ convention = "google"

[tool.pytest.ini_options]
addopts = "--color=yes"

[tool.setuptools.packages.find]
where = ["src"]
namespaces = false

[tool.setuptools_scm]
local_scheme = "no-local-version"
5 changes: 0 additions & 5 deletions setup.py

This file was deleted.

0 comments on commit e9acce9

Please sign in to comment.