58 Commits

Author SHA1 Message Date
Berker Peksag
719e61bf18 Raise a RuntimeError if asyncio is not available.
Fixes #830.
2014-08-16 12:19:23 +02:00
WooParadog
2753aac65b Fix PyTest class in setup.py.
It should be subclass of `setuptools.command.test`. Also, use it in
.travis.yml.
2014-08-01 15:30:20 +03:00
Andrew Svetlov
86f740420c Don't install gaiohttp if python < 3.3 2014-06-22 15:19:27 +03:00
Randall Leeds
ae14150cad Merge pull request #727 from benoitc/feature/threaded-worker
Feature/threaded worker
2014-06-01 14:16:44 -07:00
benoitc
ff6169cc20 gthreads: only check requirements for python < 3.4 2014-06-01 20:44:50 +02:00
Berker Peksag
9f8f37d07d Add Python 3.4 to classifiers.
I tested Gunicorn with the following command on Pytohn 3.4.0:

    $ python3.4 -m venv venv34
    $ . venv34/bin/activate
    $ pip install -e .
    $ pip install -r requirements_dev.txt
    $ py.test tests/
2014-05-15 01:16:38 +03:00
benoitc
14f71ebf39 compatibility with python 2
Add support of the threaded worker on python 2.7. python 2.7 has no
futures module. With this change the compatibility module is installed.
2014-05-13 15:18:43 +02:00
Berker Peksag
3783bc79f4 Remove duplicate classifiers. 2014-03-01 00:19:30 +02:00
benoitc
a397d90774 don't depend on entry point for internal classes.
We don't have to depend on entry points when loading suppoorted workers
nad extensions, instead use the absolute path to load the class.

fix #259
2013-12-26 11:33:05 +01:00
kracekumar
c6d650ebd2 Sys imported twice. 2013-10-14 00:43:02 +05:30
benoitc
facb1a668c s/py.test/pytest - fix #440
patch from@danc86 thanks!
2012-11-26 08:12:13 +01:00
benoitc
98b2114199 say hello to python 3.3 2012-11-16 10:51:51 +01:00
Randall Leeds
1505e29248 integrate pytest with setup.py 2012-10-28 22:59:33 -07:00
benoitc
68b5abc881 some setup enhancements preparing the python 3 release 2012-10-24 11:33:25 +02:00
benoitc
b7b6179593 fix gevent wsgi change 2012-03-16 07:13:25 +01:00
benoitc
ba60d6d4a9 imahe gevent_sgi and alias of gevent_pywsgi
wgsi gevent is now an alias of pywsgi in future 1.0 so slowly deprecate
it.
2012-03-16 06:49:24 +01:00
benoitc
824801d017 make the Logger pluggable. Allows people to use their own logger by
giving to gunicorn an entry point or a module path.
2011-09-09 00:43:00 +02:00
denis
2ab4bbf46f fix compatibility with gevent 0.14 dev version
Move "import gevent.wsgi" into a separate module, which is not
imported if pywsgi worker is requested. (The gevent.wsgi currently
not provided by gevent trunk but pywsgi works fine.)
2011-05-11 23:11:03 +02:00
Paul J. Davis
6bf6fbe72f Added extra WSG/HTTP classifiers for PyPI
* We were missing some obvious classifiers for HTTP and WSGI
2011-02-12 11:52:12 -05:00
Paul J. Davis
330e27166b Remove setuptools from install_requires.
We already import setuptools in setup.py so its not necessary
to explicitly list it. Also, it apparently prevents users from
upgrading using distribute.

Thanks to Jannis Leidel for the report.
2011-01-02 17:58:19 -05:00
benoitc
108ccb7690 'm tired of this versionning based on git for dev. Not really useful
since noone use it and force sometimes to have to reinstall in
virtualenv.
2010-11-20 19:20:58 +01:00
benoitc
bc2d0112a8 use only git shorttag with 'develop' command, also don'ty load it each
time. spotted by @davisp .
2010-11-10 19:28:18 +01:00
Paul Davis
d09f85edf0 Minor tweaks to new Gevent workers.
Just a slight rearangement and added some docs so I can remember which
worker is which in the future. Also renamed all occurrences of GEvent
to Gevent to have consistency.
2010-07-14 18:27:35 -04:00
Benoit Chesneau
8014555636 add full support for gevent. There is now 3 workers allowing us to use gunicorn with
gevent :
 - egg:gunicorn#gevent : gevent with gunicorn HTTP/WSGI parser
 - egg:gunicorn#gevent_wsgi : gevent.wsgi server
 - egg:gunicorn#gevent_pywsgi : gevent.pywsgi
2010-07-14 23:45:44 +02:00
benoitc
09c3310e21 Use gevent.wsgi 2010-06-10 21:22:06 +02:00
benoitc
c239a3cd88 "main.py doesn't do anything useful anymore" spotted by @davisp 2010-06-10 17:23:38 +02:00
benoitc
516adafcbe fix some errors & add headers. unitests still broken 2010-06-03 16:11:17 -04:00
benoitc
d9a2579613 naive working integration of simplehttp parser. async worker is slower
than the non async actually for unkown reason and slower than with old
parser.
2010-06-03 16:09:04 -04:00
benoitc
a14bd99dbe oops typo 2010-04-29 09:57:31 +02:00
benoitc
7e1d4ae34a install requires setuptools 2010-04-29 09:49:24 +02:00
Paul J. Davis
d14389cb68 Added support for Tornado.
Took less than a beer.
2010-04-15 21:20:52 -04:00
Paul J. Davis
0c935d06c7 Got the Sync and Eventlet workers running. 2010-04-15 21:20:17 -04:00
Paul J. Davis
51f1f22665 Refactoring worker code.
Also went through gunicorn.main lightly.
2010-04-15 20:08:28 -04:00
Paul J. Davis
fe3f7db88c Wrong license listed in the setup() vars. 2010-03-24 14:40:17 -04:00
benoitc
0781caadab merge grainbows & gunicorn 2010-03-17 00:18:16 +01:00
benoitc
23927f39b1 allows custom arbiter 2010-03-16 22:12:26 +01:00
benoitc
0687c9460b point setup.py to main website 2010-03-11 08:33:00 +01:00
Benoit Chesneau
f071e7d4e1 fix version handling 2010-02-09 23:05:12 +01:00
Benoit Chesneau
3e20e11e39 bump version 2010-02-09 22:59:26 +01:00
Benoit Chesneau
cc060fbd0e little bump 2010-02-03 19:46:14 +01:00
Benoit Chesneau
92a0a2582d bump version number and add it to usage 2010-02-03 15:02:05 +01:00
Benoit Chesneau
498809d39e django don't like eggs. use zip_safe=False now 2010-02-03 00:01:45 +01:00
Benoit Chesneau
614a5d25c1 replace /bin/* py setup entry-points 2010-02-02 18:23:37 +01:00
Benoit Chesneau
c920d59332 fix setup, don't import examples. 2010-02-01 20:01:09 +01:00
Benoit Chesneau
31c911f6cc fix license headers and bump release number to 0.3 2010-02-01 19:40:59 +01:00
Benoit Chesneau
58c759b914 bump version to 0.2.1 2010-01-26 02:03:23 +01:00
Benoit Chesneau
e830a8f54d add debug option and support in paster. It allows us to work with paster
in debug mode and some other app that eval results. In debug mode only
one worker could be launch and wsgi.multiprocess is set to False.
2010-01-23 18:26:07 +01:00
Benoit Chesneau
63d45ef181 gunicorn server factory for paster. 2010-01-23 16:46:49 +01:00
Benoit Chesneau
b0f1a0fe06 add django_paste command for paste-compatible projects. 2010-01-23 14:25:41 +01:00
Benoit Chesneau
73e8f4c103 fix setup 2010-01-22 00:57:13 +01:00