Ejemplo n.º 1
0
def app(tmpdir_factory):
    pkgs = tmpdir_factory.mktemp("packages")
    app = create_app(testing=True)
    app.config['STORAGE'] = 'LocalStorage'
    app.config['STORAGE_PARAMS'] = {'packages_root': str(pkgs)}
    return app
Ejemplo n.º 2
0
import os

from extrapypi.app import create_app

app = create_app(config=os.environ.get('EXTRAPYPI_CONFIG'))
Ejemplo n.º 3
0
def create_pypi(info):
    return create_app(config=os.environ.get('EXTRAPYPI_CONFIG', None))
Ejemplo n.º 4
0
from extrapypi.app import create_app

app = create_app()