Skip to content

Commit

Permalink
Switch to src layout.
Browse files Browse the repository at this point in the history
  • Loading branch information
shyuep committed Jun 26, 2024
1 parent 8345dfd commit 3bc9e38
Show file tree
Hide file tree
Showing 44 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ Repo = "https://github.com/materialsproject/custodian"
Package = "https://pypi.org/project/custodian"

[tool.setuptools.packages.find]
include = ["custodian*"]
exclude = ["*.tests", "*.tests.*"]
where = ["src"]
include = ["custodian"]

[tool.ruff]
target-version = "py311"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def make_doc(ctx) -> None:
with cd("docs"):
ctx.run("touch index.rst")
ctx.run("rm custodian.*.rst", warn=True)
ctx.run("sphinx-apidoc --separate -P -M -d 7 -o . -f ../custodian ../**/tests/*")
ctx.run("sphinx-apidoc --separate -P -M -d 7 -o . -f ../src/custodian")
ctx.run("sphinx-build -M markdown . .")
ctx.run("rm *.rst", warn=True)
ctx.run("cp markdown/custodian*.md .")
Expand Down

0 comments on commit 3bc9e38

Please sign in to comment.