blob: c5f91816ad79b759a26323c4df89a6b9cedad87f [file] [log] [blame]
yuzo9bef2762009-08-28 05:03:32 +00001#!/usr/bin/env python
2#
3# Copyright 2009 Google Inc.
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16
17
18"""Set up script for mod_pywebsocket.
19"""
20
21
22from distutils.core import setup
23import sys
24
25
26_PACKAGE_NAME = 'mod_pywebsocket'
27
28if sys.version < '2.3':
29 print >>sys.stderr, '%s requires Python 2.3 or later.' % _PACKAGE_NAME
30 sys.exit(1)
31
32setup(author='Yuzo Fujishima',
33 author_email='yuzo@chromium.org',
34 description='Web Socket extension for Apache HTTP Server.',
35 long_description=(
36 'mod_pywebsocket is an Apache HTTP Server extension for '
37 'Web Socket (http://tools.ietf.org/html/'
38 'draft-hixie-thewebsocketprotocol). '
39 'See mod_pywebsocket/__init__.py for more detail.'),
40 license='http://www.apache.org/licenses/LICENSE-2.0',
41 name=_PACKAGE_NAME,
42 packages=[_PACKAGE_NAME],
43 url='http://code.google.com/p/pywebsocket/',
yuzocf5d5f42009-09-30 02:09:50 +000044 version='0.2.0',
yuzo9bef2762009-08-28 05:03:32 +000045 )
46
47
48# vi:sts=4 sw=4 et