This repository was archived by the owner on May 15, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·62 lines (58 loc) · 2.34 KB
/
Copy pathsetup.py
File metadata and controls
executable file
·62 lines (58 loc) · 2.34 KB
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
53
54
55
56
57
58
59
60
61
62
#!/usr/bin/env python
from setuptools import find_packages, setup
project = "microcosm-pubsub"
version = "3.0.0"
setup(
name=project,
version=version,
description="PubSub with SNS/SQS",
author="Globality Engineering",
author_email="engineering@globality.com",
url="https://github.com/globality-corp/microcosm-pubsub",
packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
include_package_data=True,
zip_safe=False,
python_requires=">=3.9",
install_requires=[
"boto3>=1.5.8",
"marshmallow>=3.0.0",
"microcosm>=4.0.0",
"microcosm-caching>=1.0.0",
"microcosm-daemon>=3.0.0",
"microcosm-logging>=2.0.0",
"requests>=2.31.0"
],
extras_require={
"metrics": "microcosm-metrics>=3.0.0",
"sentry": "sentry-sdk>=0.14.4",
"build": [
"flake8",
"mypy",
"PyHamcrest",
"pytest-cov",
"pytest",
"sentry-sdk",
]
},
entry_points={
"console_scripts": [
"publish-naive = microcosm_pubsub.main:make_naive_message",
"pubsub = microcosm_pubsub.main:main",
],
"microcosm.factories": [
"pubsub_message_schema_registry = microcosm_pubsub.registry:configure_schema_registry",
"pubsub_lifecycle_change = microcosm_pubsub.conventions:LifecycleChange",
"pubsub_send_batch_metrics = microcosm_pubsub.metrics:PubSubSendBatchMetrics",
"pubsub_send_metrics = microcosm_pubsub.metrics:PubSubSendMetrics",
"pubsub_producer_metrics = microcosm_pubsub.metrics:PubSubProducerMetrics",
"sqs_message_context = microcosm_pubsub.context:SQSMessageContext",
"sqs_consumer = microcosm_pubsub.consumer:configure_sqs_consumer",
"sqs_envelope = microcosm_pubsub.envelope:configure_sqs_envelope",
"sqs_message_dispatcher = microcosm_pubsub.dispatcher:SQSMessageDispatcher",
"sqs_message_handler_registry = microcosm_pubsub.registry:configure_handler_registry",
"sns_producer = microcosm_pubsub.producer:configure_sns_producer",
"sns_topic_arns = microcosm_pubsub.producer:configure_sns_topic_arns",
"sentry_logging_pubsub = microcosm_pubsub.sentry:configure_sentry_pubsub",
],
},
)