forked from 0compute/xtraceback
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·32 lines (27 loc) · 968 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
#!/usr/bin/env python
import os
from setuptools import setup
# under test we do not want the nose entry point
if "XTRACEBACK_NO_NOSE" in os.environ:
entry_points = None
else:
entry_points = {
"nose.plugins": ("xtraceback=xtraceback.nosextraceback:NoseXTraceback",),
}
README = open(os.path.join(os.path.dirname(__file__), "README.md"))
setup(name="xtraceback",
version="0.4.0-dev",
description="A verbose traceback formatter",
long_description="\n".join(README.read().splitlines()[0:3]),
license="MIT",
keywords="traceback exception nose",
author="Ischium",
author_email="[email protected]",
url="https://github.com/ischium/xtraceback",
packages=("xtraceback",),
install_requires=("stacked >= 0.1.1",),
extras_require=dict(syntax=("pygments")),
tests_require=("nose", "pygments", "yanc"),
test_suite="nose.collector",
entry_points=entry_points,
)