-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
29 lines (28 loc) · 891 Bytes
/
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
from setuptools import setup, Extension, find_packages
setup(
name="avideostream",
version="0.1.0",
author="SimplyPrint",
author_email="[email protected]",
description="Directly use libav (ffmpeg) to read RTSP streams with python bindings.",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
packages=find_packages(),
include_package_data=True,
ext_modules=[
Extension(
"avideostream",
sources=[
"src/avideostream.c",
"src/VideoStream.c",
"src/FrameEncoding.c"
],
libraries=['avformat', 'avcodec', 'avutil'],
)
],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)