Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 91e2f2f

Browse files
committed
removing gevent, this fixes billzhong#9
1 parent 4b1c769 commit 91e2f2f

File tree

4 files changed

+5
-12
lines changed

4 files changed

+5
-12
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
Inbox.py: SMTP Server for Humans
22
================================
33

4-
This is simplest SMTP server you'll ever see. It's asynchronous.
4+
This is the simplest SMTP server you'll ever see. It's asynchronous.
55

6-
One instance should handle over one thousand emails per second, thanks to Gevent.
6+
One instance should handle over one thousand emails per second.
77

88

99
Usage

inbox.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
# -*- coding: utf-8 -*-
22

3+
import smtpd
4+
import asyncore
35
import argparse
46
from email.parser import Parser
57

6-
import gevent
7-
import gevent.monkey
8-
98
from logbook import Logger
109

11-
gevent.monkey.patch_select()
12-
13-
import smtpd
14-
import asyncore
15-
1610

1711
log = Logger(__name__)
1812

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
gevent
21
logbook
32
argparse

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
author_email='[email protected]',
2727
url='https://github.com/kennethreitz/inbox.py',
2828
py_modules= ['inbox',],
29-
install_requires=['gevent', 'logbook', 'argparse'],
29+
install_requires=['logbook', 'argparse'],
3030
license='BSD',
3131
classifiers=(
3232
# 'Development Status :: 5 - Production/Stable',

0 commit comments

Comments
 (0)