]> git.phdru.name Git - cookiecutter.git/blobdiff - project_template/upgrade-ezsetup
Upgrade ez_setup.py
[cookiecutter.git] / project_template / upgrade-ezsetup
diff --git a/project_template/upgrade-ezsetup b/project_template/upgrade-ezsetup
new file mode 100755 (executable)
index 0000000..f9837ab
--- /dev/null
@@ -0,0 +1,5 @@
+#! /bin/sh
+
+wget -O ez_setup.py https://bootstrap.pypa.io/ez_setup.py &&
+python    -m compileall ez_setup.py && python -O -m compileall ez_setup.py &&
+exec git commit --message="Upgrade ez_setup.py" ez_setup.py