forked from syrusakbary/snapshottest
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
50 lines (46 loc) · 1.48 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
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
with open("README.md") as f:
readme = f.read()
tests_require = ["pytest>=4.6", "pytest-cov", "nose", "django>=1.10.6"]
setup(
name="snapshottest",
version="1.0.0a0",
description="Snapshot testing for pytest, unittest, Django, and Nose",
long_description=readme,
long_description_content_type="text/markdown",
author="Syrus Akbary",
author_email="[email protected]",
url="https://github.com/syrusakbary/snapshottest",
# custom PyPI classifier for pytest plugins
entry_points={
"pytest11": [
"snapshottest = snapshottest.pytest",
],
"nose.plugins.0.10": ["snapshottest = snapshottest.nose:SnapshotTestPlugin"],
},
install_requires=["termcolor", "fastdiff>=0.1.4,<1"],
tests_require=tests_require,
extras_require={
"test": tests_require,
"pytest": [
"pytest",
],
"nose": [
"nose",
],
},
requires_python=">=3.5",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Framework :: Django",
"Framework :: Pytest",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Testing :: Unit",
],
license="MIT",
packages=find_packages(exclude=("tests",)),
)