-
Notifications
You must be signed in to change notification settings - Fork 430
Making GAE_PYTHON optional in tox config. #415
Conversation
What was the issue with these commands being in |
The issue is that |
You can make it optional by changing the substitution at line 40 from |
(as an aside, I love tox but hate using an ini file for configuration) |
@jonparrott I am aware of the default via
|
Fair enough, just wanted to make you aware of it. I'm fine with scripts as long as @nathanielmanistaatgoogle is fine with it. Also, in terms of the GAE SDK - see https://github.com/GoogleCloudPlatform/python-repo-tools/blob/master/gcp_python_repo_tools/appengine_sdk.py - we're creating this in tandem with re-organizing the tests over at python-docs-samples. Eventually we should use that here to keep the SDK up-to-date (once I add updating functionality to it). |
Nice! I'm very happy to let you handle it. |
As for my own being fine with scripts: uh... I really don't want to have to be. Look at the way this change adds so much more than it removes. How backed-into-a-corner are we? |
fc57f46
to
e7d0d19
Compare
OK I nuked the scripts. There should still be some unification done in |
Also using --gae-lib-root instead of setting the PYTHONPATH.
e7d0d19
to
f640756
Compare
@@ -111,11 +111,10 @@ deps = {[testenv]basedeps} | |||
commands = | |||
nosetests \ | |||
--with-gae \ | |||
--gae-lib-root={env:GAE_PYTHONPATH:google_appengine} \ |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@jonparrott PTAL. It turns out a UPDATE: FWIW |
Yeah |
This LGTM. |
Making GAE_PYTHON optional in tox config.
Fallback is
${GIT_ROOT}/google_appengine
.The goal is to also make these pull the latest version of the SDK (right now it is downloaded once and frozen in time).