forked from reportportal/agent-python-pytest
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
46 lines (37 loc) · 1.28 KB
/
setup.py
File metadata and controls
46 lines (37 loc) · 1.28 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
"""Config for setup package pytest agent."""
import os
from setuptools import setup
__version__ = '5.0.9'
def read_file(fname):
"""Read the given file.
:param fname: Filename to be read
:return: File content
"""
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()
setup(
name='pytest-reportportal',
version=__version__,
description='Agent for Reporting results of tests to the Report Portal',
long_description=read_file('README.rst'),
long_description_content_type='text/markdown',
author_email='SupportEPMC-TSTReportPortal@epam.com',
url='https://github.com/reportportal/agent-python-pytest',
packages=['pytest_reportportal'],
install_requires=read_file('requirements.txt').splitlines(),
license='Apache 2.0',
keywords=['testing', 'reporting', 'reportportal', 'pytest'],
classifiers=[
'Framework :: Pytest',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8'
],
entry_points={
'pytest11': [
'pytest_reportportal = pytest_reportportal.plugin',
]
}
)