MartinHeinz/python-project-blueprint

configure_project script not working

Opened this issue · 0 comments

Hey there, thank you so much for open sourcing this template and for your well written blog posts.

Trying to run the below script:

./configure_project.sh MODULE="coolproject" REGISTRY="docker.pkg.github.com/martinheinz/repo-name"

Leads to the following errors:
on run:

Test: make run

python: No module named blueprint
make: *** [run] Error 1

on test:
pytest.ini file --cov argument needs to be replaced to module name:

Test: make test

ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
pytest: error: unrecognized arguments: --cov=blueprint --cov-report=xml --cov-report=term
  inifile: /martinheinz/python-project-blueprint/pytest.ini
  rootdir: /martinheinz/python-project-blueprint