forked from explorigin/Rocket
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·55 lines (47 loc) · 2.26 KB
/
setup.py
File metadata and controls
executable file
·55 lines (47 loc) · 2.26 KB
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
54
55
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# This file is part of the Rocket Web Server
# Copyright (c) 2009 Timothy Farrell
from distribute_setup import use_setuptools
use_setuptools()
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",
version = VERSION,
description = "Modern, multi-threaded and extensible web server.",
author = "Timothy Farrell",
author_email = "explorigin@gmail.com",
url = "https://github.com/explorigin/Rocket",
packages = packages,
license = "MIT License",
package_data = {'':['*.py', '*.txt']},
include_package_data = True,
install_requires=['distribute'],
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 mjpizz+rocket@gmail.com
""",
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",
],
})