-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
44 lines (39 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import re
from setuptools import setup
with open("README.md") as f:
long_description = f.read()
with open("pytest_timer/__init__.py") as f:
version = re.search(r"__version__ = \"(.*?)\"", f.read()).group(1)
setup(
name="pytest-timer",
version=version,
description="A timer plugin for pytest",
long_description=long_description,
long_description_content_type="text/markdown",
author=", ".join(["Stanislav Kudriashev"]),
url="https://github.com/skudriashev/pytest-timer",
packages=["pytest_timer"],
install_requires=["pytest"],
extras_require={"termcolor": ["termcolor"], "colorama": ["colorama"]},
license="MIT",
entry_points={"pytest11": ["name_of_plugin = pytest_timer.plugin"]},
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development :: Testing",
"Environment :: Console",
"Framework :: Pytest",
],
)