forked from matplotlib/pytest-mpl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
38 lines (34 loc) · 1.43 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
from setuptools import setup
from pytest_mpl import __version__
# IMPORTANT: we deliberately use rst here instead of markdown because long_description
# needs to be in rst, and requiring pandoc to be installed to convert markdown to rst
# on-the-fly is over-complicated and sometimes the generated rst has warnings that
# cause PyPI to not display it correctly.
with open('README.rst') as infile:
long_description = infile.read()
setup(
version=__version__,
url="https://github.com/matplotlib/pytest-mpl",
name="pytest-mpl",
description='pytest plugin to help with testing figures output from Matplotlib',
long_description=long_description,
packages=['pytest_mpl'],
package_data={'pytest_mpl': ['classic.mplstyle']},
install_requires=['pytest', 'matplotlib', 'nose'],
license='BSD',
author='Thomas Robitaille',
author_email='[email protected]',
entry_points={'pytest11': ['pytest_mpl = pytest_mpl.plugin']},
classifiers=[
'Development Status :: 4 - Beta',
'Framework :: Pytest',
'Intended Audience :: Developers',
'Topic :: Software Development :: Testing',
'Topic :: Scientific/Engineering :: Visualization',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Operating System :: OS Independent',
'License :: OSI Approved :: BSD License',
],
)