forked from joerick/pyinstrument
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
70 lines (67 loc) · 2.14 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
import os
from pathlib import Path
from setuptools import Extension, find_namespace_packages, setup
PROJECT_ROOT = Path(__file__).parent
long_description = (PROJECT_ROOT / "README.md").read_text(encoding="utf8")
setup(
name="pyinstrument",
packages=find_namespace_packages(include=["pyinstrument*"]),
version="4.6.1",
ext_modules=[
Extension(
"pyinstrument.low_level.stat_profile",
sources=["pyinstrument/low_level/stat_profile.c"],
)
],
description="Call stack profiler for Python. Shows you why your code is slow!",
long_description=long_description,
long_description_content_type="text/markdown",
author="Joe Rickerby",
author_email="[email protected]",
url="https://github.com/joerick/pyinstrument",
keywords=["profiling", "profile", "profiler", "cpu", "time", "sampling"],
install_requires=[],
extras_require={
"test": [
"pytest",
"flaky",
"trio",
"greenlet>=3.0.0a1",
"pytest-asyncio==0.12.0", # pinned to an older version due to an incompatibility with flaky
"sphinx-autobuild==2021.3.14",
"ipython",
],
"bin": [
"click",
"nox",
],
"docs": [
"sphinx==4.2.0",
"myst-parser==0.15.1",
"furo==2021.6.18b36",
"sphinxcontrib-programoutput==0.17",
],
"examples": [
"numpy",
"django",
],
"types": [
"typing_extensions",
],
},
include_package_data=True,
python_requires=">=3.7",
entry_points={"console_scripts": ["pyinstrument = pyinstrument.__main__:main"]},
zip_safe=False,
classifiers=[
"Environment :: Console",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Topic :: Software Development :: Debuggers",
"Topic :: Software Development :: Testing",
],
)