Skip to content
Myr

setup.py

This file

Path

tools/httpxprof/setup.py

20 lines · 450 bytes · Python

Last changed by

Add tool for profiling (#364)Florimond Mancabefore adoptione1da6b9

History of this file

Take it

Add tool for profiling (#364)Florimond Mancabefore adoptione1da6b9

lines 1–20why, one step back
1import typing
2from pathlib import Path34from setuptools import setup567def get_packages(package: str) -> typing.List[str]:8 return [str(path.parent) for path in Path(package).glob("**/__init__.py")]91011setup(12 name="httpxprof",13 version="0.1",14 packages=get_packages("httpxprof"),15 install_requires=["click", "snakeviz", "uvicorn", "tqdm"],16 entry_points="""17 [console_scripts]18 httpxprof=httpxprof.main:cli19 """,20)