Tarashish Mishra avatar Tarashish Mishra committed 3b6e022 Draft

generate a support directory to be used by GAE and standalone, don't use jinja2 from GAE env

Comments (0)

Files changed (2)

 pylint:
 	@pylint --disable-msg=W0142,W0511,W0612,W0613,C0103,C0111,C0302,C0321,C0322 --disable-msg-cat=R MoinMoin
 
-# Automate creation of the GAE support archive from a virtualenv site-packages directory
-gaesupport:
+# Automate creation of the support archive from a virtualenv site-packages directory
+support:
 	@# do NOT name it "site-packages", but "support":
 	@cp -a env/lib/python2.7/site-packages support
 	@# remove compiled code files:
 	@find support -name "*.pyc" -exec rm {} \;
 	@find support -name "*.pyo" -exec rm {} \;
-	@# GAE offers jinja2, see app.yaml:
-	@rm -rf support/jinja2
 	@# documentation generation support not needed on GAE:
 	@rm -rf support/sphinx
 	@# package installers not needed/supported on GAE:
 - url: /.*
   script: MoinMoin.appengine_main.application
 
-libraries:
-- name: jinja2
-  version: latest
-
+# We must include jinja2 in the support directory, so we can use the same
+# support tgz for both GAE and standalone local installations (both do not use
+# setup.py). Thus, we do not use the jinja2 GAE could provide.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.