This repository has been archived by the owner on May 29, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
executable file
·53 lines (45 loc) · 2.22 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# This file is part of the Rocket Web Server
# Copyright (c) 2009 Timothy Farrell
from setuptools import setup, find_packages
import os
import sys
import re
if sys.version_info < (2, 5):
raise Exception("Rocket requires Python 2.5 or higher.")
v = open(os.path.join(os.path.dirname(__file__), 'rocket', '__init__.py'))
VERSION = re.compile(r".*VERSION = '(.*?)'", re.S).match(v.read()).group(1)
v.close()
packages = find_packages(exclude=['tests'])
setup(name = "rocket-errbot",
version = VERSION,
description = "Modern, Multi-threaded, Comet-Friendly WSGI Web Server",
author = "Timothy Farrell",
author_email = "[email protected]",
url = "http://www.launchpad.net/rocket",
packages = packages,
license = "MIT License",
package_data = {'':['*.py', '*.txt']},
include_package_data = True,
long_description = """The Rocket web server is a server designed to handle the increased needs of modern web applications implemented in pure Python. It can serve WSGI applications and middleware currently with the ability to be extended to handle different types of networked request-response jobs. Rocket runs on cPython 2.5-3.x and Jython 2.5 (without the need to run through the 2to3 translation tool). Rocket is similar in purpose to Cherrypy's Wsgiserver but with added flexibility, speed and concurrency.
Rocket Documentation is viewable at http://packages.python.org/rocket .
If you're searching for the rocket GAE framework, email [email protected]
""",
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.5",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 3",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Server",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers"],
entry_points = {
"distutils.commands": [
"build_monolithic = monolithic:build_monolithic",
"build_release = release:build_release",
],
})