Skip to content

Commit

Permalink
fix: Fix packaging (missing __init__ module)
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Mar 7, 2022
1 parent d230758 commit 8829dfe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
key: tests-cache-${{ runner.os }}-${{ matrix.python-version }}

- name: Install dependencies
run: pdm install -G duty -G tests
run: pdm install --no-editable -G duty -G tests

- name: Run the test suite
run: pdm run duty test
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ autorefs = "mkdocs_autorefs.plugin:AutorefsPlugin"
[tool.pdm]
version = {use_scm = true}
package-dir = "src"
editable-backend = "editables"

[tool.pdm.dev-dependencies]
duty = ["duty>=0.7"]
Expand Down
4 changes: 4 additions & 0 deletions src/mkdocs_autorefs/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"""mkdocs-autorefs package.
Automatically link across pages in MkDocs.
"""

0 comments on commit 8829dfe

Please sign in to comment.