This commit is contained in:
2021-11-05 09:24:08 +02:00
parent 03780543dc
commit f11c7d65fa
5 changed files with 362 additions and 1 deletions

26
setup.py Normal file
View File

@@ -0,0 +1,26 @@
from distutils.core import setup
import os
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="Ville Rantanen",
author_email="ville.q.rantanen@gmail.com",
keywords=["video"],
entry_points={
"console_scripts": [
"tsmark=tsmark:main",
],
},
install_requires = [
'opencv-python==4.5.3.56'
]
)