Skip to content

Commit

Permalink
Define package discovery in pyproject.toml.
Browse files Browse the repository at this point in the history
  • Loading branch information
lang-m committed Oct 10, 2023
1 parent b24e578 commit 5dfb311
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ omit = ["oommfc/tests/*"]
profile = "black"
skip_gitignore = true # ignores files listed in .gitignore

[tool.setuptools.packages.find]
include = ["oommfc*"]

# to define additional information we use a custom table
# see: https://www.python.org/dev/peps/pep-0518/#tool-table
[tool.ubermag]
Expand Down
4 changes: 0 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
[options]
packages = find:
include_package_data = True

[flake8]
exclude =
.git,
Expand Down

0 comments on commit 5dfb311

Please sign in to comment.