Skip to content

Commit e66e853

Browse files
author
Dzmitry Humianiuk
authored
Merge pull request #5 from ppapou/master
Setup Procedure
2 parents 7ef4be5 + e41d181 commit e66e853

File tree

3 files changed

+16
-7
lines changed

3 files changed

+16
-7
lines changed

MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
include MANIFEST.in
2+
include *.md

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,14 @@ pip install pytest-reportportal
88
```
99

1010
### Prepare the config file pytest.ini in root dir of tests.
11-
Content of the pytest.ini file:
11+
The pytest.ini file should have next mandatory fiilds:
12+
13+
- rp_uuid - number could be found in the User profile section
14+
- rp_project - name of project in Report potal
15+
- rp_endpoint - address of Report Portal Server
16+
1217
```
1318
[pytest]
14-
mandatory fields
1519
rp_uuid = uid reportportal
1620
rp_endpoint = http://ip:port
1721
rp_project = Project of ReportPortal

setup.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1+
import os
12
from setuptools import setup
23

3-
with open("README.md") as readme_file:
4-
readme = readme_file.read()
54

6-
version = "0.2.1"
5+
def read_file(fname):
6+
return open(os.path.join(os.path.dirname(__file__), fname)).read()
7+
8+
9+
version = "0.2.3"
710
requirements = [
811
"reportportal-client>=2.5.4",
912
"pytest>=3.0.7",
@@ -13,7 +16,7 @@
1316
name="pytest-reportportal",
1417
version=version,
1518
description="Agent for Reproting results of tests to the Report Portal server",
16-
long_description=readme + "\n\n",
19+
long_description=read_file("README.md") + "\n\n",
1720
author="Pavel Papou",
1821
author_email="[email protected]",
1922
url="https://github.com/reportportal/agent-python-pytest",
@@ -25,7 +28,7 @@
2528
"Framework :: Pytest",
2629
"Programming Language :: Python :: 2.7",
2730
"Programming Language :: Python :: 3.0",
28-
"Programming Language :: Python :: 3.3"
31+
"Programming Language :: Python :: 3.3",
2932
"Programming Language :: Python :: 3.4",
3033
"Programming Language :: Python :: 3.5",
3134
"Programming Language :: Python :: 3.6"

0 commit comments

Comments
 (0)