From a1a1fc994f7ef96ee75fa92d57105c8ac9cc4080 Mon Sep 17 00:00:00 2001 From: Ashley Camba Date: Tue, 17 Dec 2013 16:33:49 +0100 Subject: [PATCH] adding version and __init__.py file --- cookiecutter.json | 3 ++- .../{{cookiecutter.project_name}}/__init__.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 {{cookiecutter.repo_name}}/{{cookiecutter.project_name}}/__init__.py diff --git a/cookiecutter.json b/cookiecutter.json index 0e9021aa..bbc09299 100644 --- a/cookiecutter.json +++ b/cookiecutter.json @@ -5,5 +5,6 @@ "email": "Your email", "description": "A short description of the project.", "year": "2013", - "domain_name": "example.com" + "domain_name": "example.com", + "version": "0.1.0" } diff --git a/{{cookiecutter.repo_name}}/{{cookiecutter.project_name}}/__init__.py b/{{cookiecutter.repo_name}}/{{cookiecutter.project_name}}/__init__.py new file mode 100644 index 00000000..704b5032 --- /dev/null +++ b/{{cookiecutter.repo_name}}/{{cookiecutter.project_name}}/__init__.py @@ -0,0 +1 @@ +__version__ = '{{ cookiecutter.version }}'