27 lines
672 B
Python
27 lines
672 B
Python
import os
|
|
from distutils.core import setup
|
|
|
|
|
|
def version_reader(path):
|
|
for line in open(path, "rt").read(1024).split("\n"):
|
|
if line.startswith("VERSION"):
|
|
return line.split("=")[1].strip().replace('"', "")
|
|
|
|
|
|
version = version_reader(os.path.join("tsmark", "__init__.py"))
|
|
setup(
|
|
name="tsmark",
|
|
packages=["tsmark"],
|
|
version=version,
|
|
description="Video timestamp marking.",
|
|
author="Q",
|
|
author_email="q@six9.net",
|
|
keywords=["video"],
|
|
entry_points={
|
|
"console_scripts": [
|
|
"tsmark=tsmark:main",
|
|
],
|
|
},
|
|
install_requires=["opencv-python>=4.5.0","opencv-contrib-python>=4.5.0", "scipy"],
|
|
)
|