forked from nose-devs/nose2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
71 lines (66 loc) · 2.36 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
import os
import sys
from setuptools import setup
VERSION = open("nose2/_version.py").readlines()[-1].split()[-1].strip("\"'")
MAINTAINER = "nose2 devs"
PY_VERSION = "%s.%s" % (sys.version_info.major, sys.version_info.minor)
LONG_DESCRIPTION = open(os.path.join(os.path.dirname(__file__), "README.rst")).read()
setup(
name="nose2",
version=VERSION,
packages=[
"nose2",
"nose2.plugins",
"nose2.plugins.loader",
"nose2.tests",
"nose2.tests.functional",
"nose2.tests.unit",
"nose2.tools",
],
install_requires=[
"six>=1.7",
"coverage>=4.4.1",
# mock on py2, py3.4 and py3.5
# not just py2: py3 versions of mock don't all have the same
# interface and this can cause issues
'mock==2.0.0;python_version<"3.6"',
],
extras_require={
"coverage_plugin": ["coverage>=4.4.1"],
"dev": ["Sphinx>=1.6.5", "sphinx_rtd_theme", "mock", "coverage"],
},
entry_points={
"console_scripts": [
"nose2 = nose2:discover",
"nose2-%s = nose2:discover" % PY_VERSION,
]
},
test_suite="unittest.collector",
# descriptive package info below
description="unittest2 with plugins, the succesor to nose",
long_description=LONG_DESCRIPTION,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
url="https://github.com/nose-devs/nose2",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"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 :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Testing",
],
keywords=["unittest", "testing", "tests"],
)