Skip to content

Commit 7c8c719

Browse files
🐞 fix: ModuleNotFoundError: No module named 'pkg_resources' #33
1 parent fcc5485 commit 7c8c719

File tree

4 files changed

+16
-7
lines changed

4 files changed

+16
-7
lines changed

HISTORY.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@
33
1. fixed following issues due to github actions upgrade:
44
1. [#42](https://github.com/zillionare/python-project-wizard/issues/42)
55
2. checkout@v2, setup-python@v2 is deprecated
6+
3. [#33](https://github.com/zillionare/python-project-wizard/issues/33)
7+
4. [#34](https://github.com/zillionare/python-project-wizard/issues/34)
8+
5. [#41](https://github.com/zillionare/python-project-wizard/issues/41)
69
2. add mypy as type checker
710
3. remove python 3.7, add python 3.11 and use python 3.11 as default

{{cookiecutter.project_slug}}/.github/workflows/dev.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,11 @@ jobs:
9393
- name: build documentation
9494
run: |
9595
poetry install -E doc
96-
poetry run mkdocs build
96+
mkdocs build
9797
git config --global user.name Docs deploy
9898
git config --global user.email [email protected]
99-
poetry run mike deploy -p -f --ignore "`poetry version --short`.dev"
100-
poetry run mike set-default -p "`poetry version --short`.dev"
99+
mike deploy -p -f --ignore "`poetry version --short`.dev"
100+
mike set-default -p "`poetry version --short`.dev"
101101
102102
- name: Build wheels and source tarball
103103
run: |

{{cookiecutter.project_slug}}/.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ jobs:
6262
- name: publish documentation
6363
run: |
6464
poetry install -E doc
65-
poetry run mkdocs build
65+
mkdocs build
6666
git config --global user.name Docs deploy
6767
git config --global user.email [email protected]
68-
poetry run mike deploy -p -f --ignore `poetry version --short` latest
69-
poetry run mike set-default -p `poetry version --short`
68+
mike deploy -p -f --ignore `poetry version --short` latest
69+
mike set-default -p `poetry version --short`
7070
7171
- name: Build wheels and source tarball
7272
run: |

{{cookiecutter.project_slug}}/pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ livereload = {version = "^2.6.3", optional = true}
6060
pyreadline = {version = "^2.1", optional = true}
6161
mike = { version="^1.1.2", optional=true}
6262
mypy = {version = "^1.5.1", optional = true}
63+
setuptools = {version="^68.0", optional = true}
64+
pkginfo = {version="^1.9", optional = true}
65+
virtualenv = {version="^20.0", optional = true}
6366

6467
[tool.poetry.extras]
6568
test = [
@@ -85,7 +88,10 @@ doc = [
8588
"mkdocstrings",
8689
"mkdocs-material-extension",
8790
"mkdocs-autorefs",
88-
"mike"
91+
"mike",
92+
"setuptools",
93+
"pkginfo",
94+
"virtualenv"
8995
]
9096

9197
{% if cookiecutter.command_line_interface|lower == 'fire' -%}

0 commit comments

Comments
 (0)