cookiecutter-flit

A Cookiecutter template for a Flit package
git clone git://git.danielmoch.com/cookiecutter-flit.git
Log | Files | Refs | LICENSE

commit 34098405b42c4e040834bed902549bee967c721e
parent caf81585936b44c98d00dfaeddb3359214e0aefd
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Thu, 30 Aug 2018 07:28:48 -0400

Add __main__.py for project

Diffstat:
A{{cookiecutter.project_slug}}/__main__.py | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/{{cookiecutter.project_slug}}/__main__.py b/{{cookiecutter.project_slug}}/__main__.py @@ -0,0 +1,5 @@ +# -*- encoding: utf-8 -*- +import {{ cookiecutter.project_slug }} + +if __name__ == '__main__': + {{ cookiecutter.project_slug }}.main()