Skip to content

Commit

Permalink
Setting whisk version
Browse files Browse the repository at this point in the history
  • Loading branch information
itsderek23 committed May 8, 2020
1 parent c0c3376 commit 50166b8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions whisk/whisk.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Main module."""

import whisk
from cookiecutter.main import cookiecutter
import os
from os.path import dirname, realpath
Expand All @@ -21,7 +21,10 @@ def create(project_name, output_dir=".", setup=None, force=False):
"""
Creates a whisk project.
"""
extra_content = {"project_name": project_name}
extra_content = {
"project_name": project_name,
"whisk_dependency": "whisk>={}".format(whisk.__version__)
}
if setup is not None:
extra_content["setup"] = setup
cookiecutter(cookiecutter_template_dir(),
Expand Down

0 comments on commit 50166b8

Please sign in to comment.