Include tox.ini into sdist
[cookiecutter.git] / cookiecutter
index 51322682fab678dd59ea05b5a4b5a41fcf87e146..52ea37767e1baf41e824e4a6f293c3304a981ddd 100755 (executable)
@@ -14,10 +14,12 @@ cp -ap project_template "$HOME/tmp/$project_name" &&
 cd "$HOME/tmp/$project_name" &&
 mv project "$project_name" &&
 
 cd "$HOME/tmp/$project_name" &&
 mv project "$project_name" &&
 
-replace -i "template project" "$project_name" README.txt setup.py &&
-replace project "$project_name" docs/genapidocs mk-distr publish-docs setup.py &&
+replace '{project}' "$project_name" .gitignore README.txt \
+   docs/genapidocs mk-distr publish-docs setup.py tox.ini &&
 
 sphinx-quickstart --project="$project_name" --author="Oleg Broytman" \
    -v0.0 -r0.0.1 --ext-autodoc --makefile --no-batchfile -q docs &&
 
 
 sphinx-quickstart --project="$project_name" --author="Oleg Broytman" \
    -v0.0 -r0.0.1 --ext-autodoc --makefile --no-batchfile -q docs &&
 
-exec git init
+git init && git add . &&
+git commit --message "Initial commit - created the project" &&
+exec ./mk-git-aliases