forked from SvenskaSpel/locust-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (49 loc) · 1.64 KB
/
setup.py
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# pylint: disable=invalid-name
import ast
import re
from setuptools import find_packages, setup
_version_re = re.compile(r"__version__\s+=\s+(.*)")
_init_file = "locust_plugins/__init__.py"
with open(_init_file, "rb") as f:
version = str(ast.literal_eval(_version_re.search(f.read().decode("utf-8")).group(1)))
setup(
name="locust-plugins",
version=version,
description="Useful plugins/extensions for Locust",
long_description="""https://github.com/SvenskaSpel/locust-plugins""",
classifiers=[
"Topic :: Software Development :: Testing :: Traffic Generation",
"Development Status :: 4 - Beta",
"License :: OSI Approved :: Apache Software License",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
],
python_requires=">=3.7, <4",
keywords="",
author="Lars Holmberg",
url="https://github.com/SvenskaSpel/locust-plugins",
license="Apache-2.0",
packages=find_packages(exclude=["examples"]),
include_package_data=True,
package_data={"locust_plugins": ["py.typed"]},
zip_safe=False,
install_requires=[
"locust>=1.5.0",
"psycogreen",
"psycopg2-binary",
"websocket-client",
"python-dateutil",
"pymongo",
"confluent-kafka",
"selenium>=4.0.0.b2",
"lxml",
"opencensus-ext-azure",
],
)