另一个由makina corpus赞助的用于粘贴和cluereleasemanager的wsgi粘贴工厂
ClueReleaseManager.paste的Python项目详细描述
还有一家为CluereLeaseManager提供贴纸工厂
内容
What is ClueReleaseManager.paste
它只是使用cluereleasemanager应用程序的另一个wsgi包装器 进入粘贴配置
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
clurereasemanager工厂
检查是否一切就绪:
>>> resp = app.get('/') >>> 'href="http://localhost:8096/login"' in resp.body True >>> os.path.exists(os.path.join(here_dir, 'db.db')) True