python-project-blueprint icon indicating copy to clipboard operation
python-project-blueprint copied to clipboard

configure_project script not working

Open marwan116 opened this issue 4 years ago • 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

marwan116 avatar Apr 20 '20 22:04 marwan116