views:

36

answers:

1

So currently GoogleAppEngineLauncher is pointing to a directory that contains my app.yaml file, along with several other directories - Let's say they are directory A, B and C. If A and B contain python files, template files etc. used by the app, but directory C contains no code whatsoever (it's just a misc directory with random stuff in it), will it still get uploaded when I deploy code?

Here is my app.yaml file:

application: myapp
version: 1
runtime: python
api_version: 1

handlers:
- url: /stylesheet
  static_dir: stylesheet

- url: /images
  static_dir: images

- url: /.*
  script: main.py
+2  A: 

By default, everything (excepting a few special patterns such as 'dotfiles') gets uploaded as data files, accessible by your app, unless app.yaml specifies that certain files should be served as static files instead.

If you want to exclude files from being uploaded at all, you need to set the skip_files regular expression in your app.yaml, as described here.

Nick Johnson