mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-02-19 16:26:30 +00:00
26 lines
726 B
Python
26 lines
726 B
Python
import os
|
|
|
|
from distutils.core import Extension
|
|
from distutils.core import setup
|
|
|
|
|
|
# =====
|
|
if __name__ == "__main__":
|
|
setup(
|
|
name="ustreamer",
|
|
version="4.11",
|
|
description="uStreamer tools",
|
|
author="Maxim Devaev",
|
|
author_email="mdevaev@gmail.com",
|
|
url="https://github.com/pikvm/ustreamer",
|
|
ext_modules=[
|
|
Extension(
|
|
"ustreamer",
|
|
libraries=["rt", "m", "pthread"],
|
|
undef_macros=["NDEBUG"],
|
|
sources=["src/" + name for name in os.listdir("src") if name.endswith(".c")],
|
|
depends=["src/" + name for name in os.listdir("src") if name.endswith(".h")],
|
|
),
|
|
],
|
|
)
|