Skip to content

Commit 5eb83b9

Browse files
committed
Fix setup.cfg for pypi
1 parent 2ddac46 commit 5eb83b9

File tree

2 files changed

+3
-32
lines changed

2 files changed

+3
-32
lines changed

README.rst

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -15,35 +15,6 @@ It is designed to be fast and easy to start using while still being production q
1515

1616
Documentation: https://eiffellib.readthedocs.io/en/latest/
1717

18-
.. code-block:: python
19-
:caption: Subscribing to an event
20-
21-
import time
22-
from eiffellib.subscribers import RabbitMQSubscriber
23-
24-
25-
def callback(event, context):
26-
print(event.pretty)
27-
28-
SUBSCRIBER = RabbitMQSubscriber(host="127.0.0.1", queue="eiffel",
29-
exchange="public")
30-
SUBSCRIBER.subscribe("EiffelActivityTriggeredEvent", callback)
31-
SUBSCRIBER.start()
32-
while True:
33-
time.sleep(0.1)
34-
35-
.. code-block:: python
36-
:caption: Publishing an event
37-
38-
from eiffellib.publishers import RabbitMQPublisher
39-
from eiffellib.events import EiffelActivityTriggeredEvent
40-
41-
PUBLISHER = RabbitMQPublisher(host="127.0.0.1")
42-
PUBLISHER.start()
43-
ACTIVITY_TRIGGERED = EiffelActivityTriggeredEvent()
44-
ACTIVITY_TRIGGERED.data.add("name", "Test activity")
45-
PUBLISHER.send_event(ACTIVITY_TRIGGERED)
46-
4718
Features
4819
========
4920

setup.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ summary = Python library for sending and receiving Eiffel events
44
author = Tobias Persson
55
author-email = [email protected]
66
license = Apache License, Version 2.0
7-
home-page = http://github.com/eiffel-community/eiffellib
7+
home-page = https://github.com/eiffel-community/eiffel-pythonlib
88
description-file = README.rst
9-
classifiers = Development Status :: 5 - Production-Stable,
10-
Programming Language :: Python,
9+
classifiers = Development Status :: 5 - Production/Stable
10+
Programming Language :: Python
1111
License :: OSI Approved :: Apache Software License
1212

1313
[entry_points]

0 commit comments

Comments
 (0)