Skip to content

Commit c12abab

Browse files
committed
update
1 parent cca7a56 commit c12abab

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

pyproject.toml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
[build-system]
2+
requires = ["setuptools >= 61", "setuptools-scm>=8.0", "wheel"]
23
build-backend = "setuptools.build_meta"
3-
requires = ["setuptools >= 60", "setuptools-scm>=8.0", "wheel"]
4+
5+
[tool.setuptools.packages.find]
6+
where = ["pymatgen"] # ["."] by default
7+
exclude = ["test*"] # empty by default
8+
namespaces = true # true by default
49

510

611
[project]
@@ -30,6 +35,9 @@ name = "pymatgen-analysis-defects"
3035
readme = "README.md"
3136
requires-python = '>=3.9'
3237

38+
[tool.setuptools_scm]
39+
40+
3341
[project.optional-dependencies]
3442
finder = ["dscribe>=2.0.0"]
3543
dev = ["pre-commit>=2.12.1"]
@@ -47,7 +55,6 @@ strict = [
4755

4856
tests = ["pytest==7.4.4", "pytest-cov==4.1.0", "nbmake==1.4.6"]
4957

50-
5158
[tool.setuptools.dynamic]
5259
readme = { file = ["README.md"] }
5360

@@ -56,10 +63,6 @@ documentation = "https://materialsproject.github.io/pymatgen-analysis-defects/"
5663
homepage = "https://materialsproject.github.io/pymatgen-analysis-defects/"
5764
repository = "https://github.com/materialsproject/pymatgen-analysis-defects"
5865

59-
[tool.setuptools.packages.find]
60-
exclude = ["tests"]
61-
where = ["./"]
62-
6366
[tool.mypy]
6467
ignore_missing_imports = true
6568
no_strict_optional = true

0 commit comments

Comments
 (0)