forked from allure-framework/allure-pytest
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
39 lines (30 loc) · 887 Bytes
/
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
import os
import sys
from setuptools import setup
PACKAGE = "pytest-allure-adaptor"
VERSION = "1.7.9"
install_requires = [
"lxml>=3.2.0",
"pytest>=2.7.3",
"namedlist",
"six>=1.9.0"
]
if sys.version_info < (3, 4):
install_requires.append("enum34")
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def main():
setup(
name=PACKAGE,
version=VERSION,
description=("Plugin for py.test to generate allure xml reports"),
author="pupssman",
author_email="[email protected]",
packages=["allure"],
url="https://github.com/allure-framework/allure-pytest",
long_description=read('README.rst'),
entry_points={'pytest11': ['allure_adaptor = allure.pytest_plugin']},
install_requires=install_requires
)
if __name__ == '__main__':
main()