Skip to content

Commit 7560dca

Browse files
committed
Update pyproject.toml and MANIFEST.in.
1 parent da91a2e commit 7560dca

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

MANIFEST.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
include LICENSE.txt
22
include README.md
3-
recursive-include fsutil *
3+
recursive-include src *
4+
recursive-include tests *
45
recursive-exclude * *.pyc __pycache__ .DS_Store

pyproject.toml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,18 @@ exclude = '''
8585
'''
8686

8787
[tool.mypy]
88-
files = ["fsutil"]
88+
files = ["src"]
8989
disable_error_code = "import-untyped"
9090
ignore_missing_imports = true
9191
install_types = true
9292
non_interactive = true
9393
strict = true
9494

95+
[tool.pytest.ini_options]
96+
pythonpath = "src"
97+
addopts = "-v"
98+
testpaths = ["tests"]
99+
95100
[tool.ruff]
96101
line-length = 88
97102

@@ -102,8 +107,9 @@ select = ["B", "B9", "C", "E", "F", "I", "W"]
102107
[tool.ruff.lint.mccabe]
103108
max-complexity = 10
104109

105-
[tool.setuptools.packages.find]
106-
include = ["fsutil*"]
110+
[tool.setuptools]
111+
package-dir = {"" = "src"}
112+
packages = ["fsutil"]
107113

108114
[tool.setuptools.dynamic.version]
109115
attr = "fsutil.metadata.__version__"

0 commit comments

Comments
 (0)