Skip to content

Commit

Permalink
Fix bug with non-editable installs (#275)
Browse files Browse the repository at this point in the history
* Fix bug with non-editable installs

* Fix typo in tool.setuptools.package-data
  • Loading branch information
norabelrose authored Jul 20, 2023
1 parent db1f897 commit 9593fe5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
recursive-include elk/promptsource/templates *
recursive-include elk/resources *
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,11 @@ reportPrivateImportUsage = false
[tool.pytest.ini_options]
testpaths = ["tests"]

[tool.setuptools.package-data]
elk = ["*.json", "*.yaml"]

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

[tool.ruff]
# Enable pycodestyle (`E`), Pyflakes (`F`), and isort (`I`) codes
Expand Down

0 comments on commit 9593fe5

Please sign in to comment.