Skip to content

Commit 882cfc9

Browse files
author
Pavel Papou
committed
setup.py is adjusted
- "Programming Language :: Python :: 3.3",
1 parent c85572d commit 882cfc9

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
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

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.2"
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)