Dependency shrinking to remove development artifacts

This commit is contained in:
Pierre-Antoine Rault 2016-12-08 18:25:22 +01:00
parent abdc5371db
commit 3f036e759e

View File

@ -6,11 +6,8 @@ import os
import logging import logging
from urlparse import urlparse, urlunparse from urlparse import urlparse, urlunparse
import mimetypes
from pyramid.response import Response from pyramid.response import Response
from pyramid.events import NewRequest, subscriber from pyramid.events import NewRequest, subscriber
from pyramid.view import view_config, render_view_to_response
from pyramid.static import static_view from pyramid.static import static_view
import mozsvc.config import mozsvc.config
@ -92,7 +89,7 @@ def includeme(config):
config.include("syncstorage", route_prefix="/storage") config.include("syncstorage", route_prefix="/storage")
config.include("tokenserver", route_prefix="/token") config.include("tokenserver", route_prefix="/token")
# Add a top-level "it works!" view. # Add a top-level explaination view.
www = static_view( www = static_view(
os.path.realpath(os.path.dirname(__file__)+"/"), os.path.realpath(os.path.dirname(__file__)+"/"),
use_subpath=True use_subpath=True