forked from els-pnw/pytest_marker_bugzilla
-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
51 lines (46 loc) · 1.74 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
import sys
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_suite = True
self.test_args = "-s tests/"
def run_tests(self):
#import here, cause outside the eggs aren't loaded elsewhere
import pytest
print("Running: pytest %s" % self.test_args)
sys.path.insert(0, 'lib')
pytest.main(self.test_args)
setup(
name="pytest-marker-bugzilla",
version="0.7",
description='py.test bugzilla integration plugin, using markers',
long_description=open('README.txt').read(),
license='GPL',
author='Eric Sammons, lukas-bednar',
author_email='[email protected], [email protected]',
url='http://github.com/eanxgeek/pytest_marker_bugzilla',
platforms=['linux', 'osx', 'win32'],
py_modules=['pytest_marker_bugzilla'],
entry_points={
'pytest11': ['pytest_marker_bugzilla = pytest_marker_bugzilla'],
},
zip_safe=False,
install_requires=['python-bugzilla>=0.6.2', 'pytest>=2.2.4', 'six'],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Operating System :: POSIX',
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS :: MacOS X',
'Topic :: Software Development :: Testing',
'Topic :: Software Development :: Quality Assurance',
'Topic :: Utilities',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
],
cmdclass={'test': PyTest,},
)