app-server
Advanced tools
+1
-1
| Metadata-Version: 2.1 | ||
| Name: app_server | ||
| Version: 0.9.10 | ||
| Version: 0.9.11 | ||
| Summary: a lightweight web application launcher for gunicorn and static files. | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/viur-framework/viur-app_server |
| Metadata-Version: 2.1 | ||
| Name: app_server | ||
| Version: 0.9.10 | ||
| Version: 0.9.11 | ||
| Summary: a lightweight web application launcher for gunicorn and static files. | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/viur-framework/viur-app_server |
@@ -5,2 +5,3 @@ import argparse | ||
| import os | ||
| from pathlib import Path | ||
| import re | ||
@@ -25,3 +26,3 @@ import subprocess | ||
| __version__ = "0.9.10" | ||
| __version__ = "0.9.11" | ||
@@ -363,4 +364,5 @@ subprocesses = [] | ||
| ap.add_argument("config_paths", metavar='yaml_path', nargs='+', | ||
| help='Path to app.yaml file') | ||
| ap.add_argument("distribution_folder", help="Path of the application") | ||
| ap.add_argument("--appyaml", default="app.yaml", | ||
| help="Path to app.yaml file (relative to the distribution_folder)") | ||
| ap.add_argument( | ||
@@ -411,6 +413,6 @@ '-A', '--application', action='store', dest='app_id', required=True, | ||
| app_folder = os.path.abspath(args.config_paths[0]) | ||
| app_folder = Path(args.distribution_folder) | ||
| # load & parse the app.yaml | ||
| with open(os.path.join(app_folder, "app.yaml"), "r") as f: | ||
| with open(app_folder / args.appyaml, "r") as f: | ||
| app_yaml = yaml.load(f, Loader=yaml.Loader) | ||
@@ -417,0 +419,0 @@ |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
267050
0.04%6112
0.03%