-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup.py
84 lines (67 loc) · 2.11 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
72
73
74
75
76
77
78
79
80
81
82
83
84
"""
Attest
======
Attest is a unit testing framework built from the ground up with idiomatic
Python in mind. Unlike others, it is not built on top of unittest though it
provides compatibility by creating TestSuites from Attest collections.
It has a functional API inspired by `Flask`_ and a class-based API that
mimics Python itself. The core avoids complicated assumptions leaving you
free to write tests however you prefer.
.. _Flask: http://pypi.python.org/pypi/Flask/
::
from attest import Tests
math = Tests()
@math.test
def arithmetics():
assert 1 + 1 == 2
if __name__ == '__main__':
math.run()
"""
from setuptools import setup, find_packages
setup(
name='Attest',
version='0.6',
description='Modern, Pythonic unit testing.',
long_description=__doc__,
author='Dag Odenhall',
author_email='[email protected]',
license='Simplified BSD',
url='https://github.com/dag/attest',
packages=find_packages(),
install_requires=[
'progressbar>=2.3',
'Pygments',
'six',
],
entry_points={
'attest.reporters': [
'xml = attest:XmlReporter',
'xunit = attest:XUnitReporter',
'quickfix = attest:QuickFixReporter',
'plain = attest:PlainReporter',
'fancy = attest:FancyReporter',
'auto = attest:auto_reporter',
],
'pygments.styles': [
'attest = attest.pygments:Attest',
],
'console_scripts': [
'attest = attest.run:main',
],
},
test_loader='attest:auto_reporter.test_loader',
test_suite='attest.tests',
use_2to3=True,
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.1',
'Topic :: Software Development :: Testing',
],
)