-
Notifications
You must be signed in to change notification settings - Fork 24
/
setup.py
71 lines (63 loc) · 2.19 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import codecs
import os
from setuptools import find_packages, setup
def read(fname):
file_path = os.path.join(os.path.dirname(__file__), fname)
return codecs.open(file_path, encoding='utf-8').read()
def getversion():
if 'BUILD_VERSION' in os.environ:
return os.environ['BUILD_VERSION']
else:
return "1.0.7"
setup(
name='pytest-nunit',
version=getversion(),
author='Anthony Shaw',
author_email='[email protected]',
maintainer='Anthony Shaw',
maintainer_email='[email protected]',
license='MIT License',
url='https://github.com/pytest-dev/pytest-nunit',
description='A pytest plugin for generating NUnit3 test result XML output',
long_description=read('README.rst'),
packages=find_packages(exclude=('test*',)),
python_requires='>=3.6',
install_requires=['pytest>=4.6.0', 'attrs'],
extras_require={
':python_version=="2.7"': ['enum34>=1.1.6'],
'dev': [
'xmlschema==1.0.13',
'pytest',
'pytest-cov',
],
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Framework :: Pytest',
'Intended Audience :: Developers',
'Topic :: Software Development :: Testing',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'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 :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
],
entry_points={
'pytest11': [
'nunit = pytest_nunit.plugin',
],
},
)