yuzo | 9bef276 | 2009-08-28 05:03:32 +0000 | [diff] [blame] | 1 | #!/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 | |
| 22 | from distutils.core import setup |
| 23 | import sys |
| 24 | |
| 25 | |
| 26 | _PACKAGE_NAME = 'mod_pywebsocket' |
| 27 | |
| 28 | if sys.version < '2.3': |
| 29 | print >>sys.stderr, '%s requires Python 2.3 or later.' % _PACKAGE_NAME |
| 30 | sys.exit(1) |
| 31 | |
| 32 | setup(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/', |
yuzo | cf5d5f4 | 2009-09-30 02:09:50 +0000 | [diff] [blame^] | 44 | version='0.2.0', |
yuzo | 9bef276 | 2009-08-28 05:03:32 +0000 | [diff] [blame] | 45 | ) |
| 46 | |
| 47 | |
| 48 | # vi:sts=4 sw=4 et |