Skip to content

Commit 2553519

Browse files
committed
feat: adding setup.py
1 parent d08e5d5 commit 2553519

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

sentry_mongo/__main__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,3 +105,7 @@ def _stop(self, status, event):
105105
span.set_status(status)
106106
span.__exit__(None, None, None)
107107
del self._spans[event.request_id]
108+
109+
110+
if __name__ == "__main__":
111+
pass

setup.py

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
import pathlib
2+
from setuptools import setup
3+
4+
# The directory containing this file
5+
HERE = pathlib.Path(__file__).parent
6+
7+
# The text of the README file
8+
README = (HERE / "README.md").read_text()
9+
10+
# This call to setup() does all the work
11+
setup(
12+
name="mongodb-sentry-integration",
13+
version="1.0.0",
14+
description="A integration of MongoDB for the Sentry's Python SDK",
15+
long_description=README,
16+
long_description_content_type="text/markdown",
17+
url="https://github.com/JoeVictor22/mongo_integration_sentry_python_sdk",
18+
author="Joel Castro",
19+
author_email="joelvictor1746@gmail.com",
20+
license="MIT",
21+
classifiers=[
22+
"License :: MIT License",
23+
],
24+
packages=["sentry_mongo"],
25+
include_package_data=True,
26+
install_requires=["sentry_sdk~=1.5", "pymongo~=3.12"],
27+
)

0 commit comments

Comments
 (0)