diff --git a/rockcraft/commands/init.py b/rockcraft/commands/init.py index b4f7ddab8..5e09bf153 100644 --- a/rockcraft/commands/init.py +++ b/rockcraft/commands/init.py @@ -127,12 +127,14 @@ class InitCommand(AppCommand): # - flask/app/webapp # - flask/app/templates # - flask/app/static - # # you may need packages to build a python package. Add them here if necessary. - # build-packages: - # # for example, if you need pkg-config and libxmlsec1-dev to build one - # # of your packages: - # - pkg-config - # - libxmlsec1-dev + + # you may need packages to build a python package. Add them here if necessary. + # flask-framework/dependencies: + # build-packages: + # # for example, if you need pkg-config and libxmlsec1-dev to build one + # # of your packages: + # - pkg-config + # - libxmlsec1-dev # you can add package slices or Debian packages to the image. # package slices are subsets of Debian packages, which result diff --git a/tests/unit/test_cli.py b/tests/unit/test_cli.py index a7bd16a14..e28f33448 100644 --- a/tests/unit/test_cli.py +++ b/tests/unit/test_cli.py @@ -174,12 +174,14 @@ def test_run_init_flask(mocker, emitter, monkeypatch, new_dir, tmp_path): # - flask/app/webapp # - flask/app/templates # - flask/app/static - # # you may need packages to build a python package. Add them here if necessary. - # build-packages: - # # for example, if you need pkg-config and libxmlsec1-dev to build one - # # of your packages: - # - pkg-config - # - libxmlsec1-dev + + # you may need packages to build a python package. Add them here if necessary. + # flask-framework/dependencies: + # build-packages: + # # for example, if you need pkg-config and libxmlsec1-dev to build one + # # of your packages: + # - pkg-config + # - libxmlsec1-dev # you can add package slices or Debian packages to the image. # package slices are subsets of Debian packages, which result