]> git.phdru.name Git - cookiecutter.git/blobdiff - cookiecutter
Fix development requirements: add pytest-cov and tox
[cookiecutter.git] / cookiecutter
index 936caffe3ad085e7109e55897dde04ee437e0a58..c23664ce5ee75d61d7b78c0436ffb235b627ed62 100755 (executable)
@@ -12,10 +12,20 @@ rm -rf "$HOME/tmp/$project_name" &&
 cp -ap project_template "$HOME/tmp/$project_name" &&
 
 cd "$HOME/tmp/$project_name" &&
-replace -i "template project" "$project_name" README.txt setup.py &&
-replace project "$project_name" docs/genapidocs mk-distr publish-docs setup.py &&
+mv project "$project_name" &&
+
+replace '{project}' "$project_name" .gitignore README.txt \
+   devscripts/README.html  docs/genapidocs docs/install.rst \
+   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 &&
 
-exec git init
+git init &&
+echo /publish-docs >>.git/info/exclude &&
+echo /update-remotes >>.git/info/exclude &&
+git add . &&
+git commit --message "Initial commit - created the project" &&
+git config htdocs.path "$HOME"/Internet/WWW/htdocs/phdru.name/Software/Python/"$project_name"/docs &&
+cp -p "$HOME"/current/projects/m_lib/update-remotes . &&
+exec ./mk-git-aliases