Skip to main content

Yet another WSGI Paste factory for paste and ClueReleaseManager

Project description

Introduction

Yet another pastes factories for ClueReleaseManager

What is ClueReleaseManager.paste

It is just another wsgi wrapper to use a ClueReleaseManager application into a paster configuration

How to use ClueReleaseManager.paste

Calling the App

[composite:main]
use = egg:Paste#urlmap
/ = foo
[app:foo]
use=egg:ClueReleaseManager.paste
basefiledir=%(here)s/test_files
baseurl=http://localhost:8096
self_register=true
backup_pypis=http://localhost:8096

Configuration options

  • baseurl: baseurl of the application [optionnal] [default: localhost]

  • basefiledir: where to store distributions [optionnal] [default: files]

  • self_register: enable auto registration [optionnal] [default:false]

  • backup_pypis: line separted pypi backup servers [optionnal] [default:[]]

  • sqluri: SQLAlchemy database URI [optionnal] [default: sqlite:///cluerelmgr.db’]

DOCTESTS

ClueReleaseManager factory

Checking that everything is in place:

>>> resp = app.get('/')
>>> 'href="http://localhost:8096/login"' in resp.body
True
>>> os.path.exists(os.path.join(here_dir, 'db.db'))
True

Changelog

1.0

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ClueReleaseManager.paste-1.0dev.tar.gz (7.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page