This repository has been archived by the owner on Feb 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
setup.py
executable file
·52 lines (44 loc) · 2.14 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# This file is part of the Rocket Web Server
# Copyright (c) 2017 Timothy Farrell
from distutils.core import setup
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()
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 = ['rocket'],
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 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",
],
})