Skip to content
Snippets Groups Projects
Commit 50085d40 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

replaced python-prctl with setproctitle, v1.2.15

parent 696581ec
No related branches found
Tags v1.2.15
No related merge requests found
......@@ -3,3 +3,6 @@ on GitHub. This file serves to only note what changes
have been made so far, between releases.
# v1.2.15
* replaced `python-prctl` with `setproctitle` thanks to the latter
having less fascist license (BSD vs GNU GPL v3)
__version__ = '1.2.15a1'
__version__ = '1.2.15'
......@@ -10,7 +10,7 @@ except IMPORT_ERRORS:
from monotonic import monotonic
try:
from prctl import set_name as prctl_set_name
from setproctitle import setproctitle as prctl_set_name
except IMPORT_ERRORS:
def prctl_set_name(name):
pass
......
......@@ -31,10 +31,10 @@ accepts a list of nodes:
*wait=True* will block until connection is completed. After this, you can use other methods.
*name* is optional. If you specify it, and have prctl_ installed, the thread will
*name* is optional. If you specify it, and have setproctitle_ installed, the thread will
receive a provided label, postfixed by **AMQP listener thread**.
.. _prctl: https://pypi.org/project/python-prctl/
.. _setproctitle: https://pypi.org/project/setproctitle/
.. autoclass:: coolamqp.clustering.Cluster
:members:
......
......@@ -14,7 +14,7 @@ setup(keywords=['amqp', 'rabbitmq', 'client', 'network', 'ha', 'high availabilit
python_requires='!=2.7.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*',
extras_require={
':python_version == "2.7"': ['futures', 'typing', 'monotonic'],
'prctl': ['prctl'],
'setproctitle': ['setproctitle'],
'opentracing': ['opentracing'],
'gevent': ['gevent']
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment