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 e6aa0fb commit 0c9b3e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Expand Up @@ -79,6 +79,9 @@ omit = ["ubermag/tests/*"]
profile = "black"
skip_gitignore = true # ignores files listed in .gitignore

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

# 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
@@ -1,7 +1,3 @@
[options]
packages = find:
include_package_data = True

[flake8]
exclude =
.git,
Expand Down

0 comments on commit 0c9b3e6

Please sign in to comment.