Skip to content
This repository has been archived by the owner on Jan 23, 2019. It is now read-only.

Commit

Permalink
add documentation and distutils setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ipmb committed Feb 20, 2009
1 parent c7a6fb4 commit 735e750
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 5 deletions.
23 changes: 23 additions & 0 deletions README.rst
@@ -0,0 +1,23 @@
Requirements
============
CherryPy_

.. _CherryPy: http://www.cherrypy.org/

Installation
============

1. Put ``django_cpserver`` on your ``PYTHONPATH``.
2. Add ``django_cpserver`` to your ``INSTALLED_APPS``.

Usage
=====

Run ``./manage.py runcpserver help`` from within your project directory

Acknowledgements
================

Idea and code snippets borrowed from `Loic d'Anterroches`__, adapted to run as a management command

__ http://www.xhtml.net/scripts/Django-CherryPy-server-DjangoCerise
5 changes: 0 additions & 5 deletions django_cpserver/management/commands/runcpserver.py
@@ -1,9 +1,4 @@
#!/usr/bin/env python
"""
Idea and code snippets borrowed from http://www.xhtml.net/scripts/Django-CherryPy-server-DjangoCerise
Adapted to run as a management command
"""


import logging, sys, os, signal, time, errno
from socket import gethostname
Expand Down
15 changes: 15 additions & 0 deletions setup.py
@@ -0,0 +1,15 @@
from distutils.core import setup

setup(
name="django_cpserver",
version="0.1",
description="Management commands for serving Django via CherryPy's built-in WSGI server",
author="Peter Baumgartner",
author_email="pete@lincolnloop.com",
url="http://lincolnloop.com/blog/2008/mar/25/serving-django-cherrypy/",
packages=[
"django_cpserver",
"django_cpserver.management",
"django_cpserver.management.commands",
],
)

0 comments on commit 735e750

Please sign in to comment.