-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
44 lines (37 loc) · 1.07 KB
/
setup.py
File metadata and controls
44 lines (37 loc) · 1.07 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
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# Don't import analytics-python module here, since deps may not be installed
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "krenalis", "analytics"))
from version import VERSION
description = "Python SDK for Krenalis"
long_description = """
This is the Python SDK for sending events to Krenalis (https://krenalis.com).
See: https://github.com/krenalis/analytics-python.
"""
install_requires = [
"requests~=2.7",
"backoff~=2.1",
"python-dateutil~=2.2",
"PyJWT~=2.8.0",
]
tests_require = [
"mock==2.0.0",
"pylint==2.8.0",
"flake8==3.7.9",
]
setup(
name="krenalis-analytics-python",
version=VERSION,
url="https://github.com/krenalis/analytics-python",
packages=["krenalis.analytics", "krenalis.analytics.test"],
python_requires=">=3.10.0",
license="MIT License",
install_requires=install_requires,
description=description,
long_description=long_description,
extras_require={"test": tests_require},
)