-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
30 lines (26 loc) · 1.1 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
# sample ./setup.py file
from setuptools import setup
from setuptools.extension import Extension
ext_packages = [Extension("pytest_valgrind.valgrind",
["pytest_valgrind/valgrind.c"]),]
setup(
name="pytest-valgrind",
version="0.3.0",
url="https://github.com/fridex/pytest-valgrind",
packages=["pytest_valgrind"],
author="Sebastian Berg",
author_email="sebastian@sipsolutions.net",
maintainer="Fridolin Pokorny",
maintainer_email="fridex.devel@gmail.com",
# The following makes a plugin available to pytest:
entry_points={"pytest11": ["valgrind = pytest_valgrind.plugin"]},
# Custom PyPI classifier for pytest plugins
classifiers=["Framework :: Pytest",
"License :: OSI Approved :: MIT License"],
install_requires=["pytest>=2.9.0"], # I have no clue if this is true.
# Make the extension module for valgrind interaction,
# would be good to port to python instead of cthon for compatibility.
ext_modules=ext_packages,
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
)