-
Notifications
You must be signed in to change notification settings - Fork 89
/
setup.py
50 lines (41 loc) · 1.56 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
"""Config for setup package client Python."""
import os
from setuptools import find_packages, setup
__version__ = "5.6.1"
TYPE_STUBS = ["*.pyi"]
def read_file(fname):
"""Read the given file.
:param fname: Name of the file to be read
:return: Output of the given file
"""
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()
setup(
name="reportportal-client",
packages=find_packages(exclude=["tests", "test_res"]),
package_data={
"reportportal_client.steps": TYPE_STUBS,
"reportportal_client.core": TYPE_STUBS,
"reportportal_client.logs": TYPE_STUBS,
"reportportal_client.services": TYPE_STUBS,
},
version=__version__,
description="Python client for ReportPortal v5.",
long_description=read_file("README.md"),
long_description_content_type="text/markdown",
author="ReportPortal Team",
author_email="support@reportportal.io",
url="https://github.com/reportportal/client-Python",
download_url=("https://github.com/reportportal/client-Python/" "tarball/%s" % __version__),
license="Apache 2.0.",
keywords=["testing", "reporting", "reportportal", "client"],
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
],
install_requires=read_file("requirements.txt").splitlines(),
)