CV2-Threaded-Video-Capture/setup.py

60 lines
1.7 KiB
Python

# -*- coding: utf8 -*-
#
# This file were created by Python Boilerplate. Use Python Boilerplate to start
# simple, usable and best-practices compliant Python projects.
#
# Learn more about it at: http://github.com/fabiommendes/python-boilerplate/
#
import os
from setuptools import setup, find_packages
# Meta information
version = open('VERSION').read().strip()
dirname = os.path.dirname(__file__)
# Save version and author to __meta__.py
path = os.path.join(dirname, 'src', 'CV2-Threaded-Video-Capture', '__meta__.py')
data = '''# Automatically created. Please do not edit.
__version__ = u'%s'
__author__ = u'Patrice Matz'
''' % version
with open(path, 'wb') as F:
F.write(data.encode())
setup(
# Basic info
name='CV2-Threaded-Video-Capture',
version=version,
author='Patrice Matz',
author_email='mail@patricematz.de',
url='https://github.com/Askill/CV2-Threaded-Video-Capture',
description='Reads a video into a buffer in an extra thread with some nice syntax.',
long_description=open('README.rst').read(),
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Operating System :: POSIX',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries',
],
keywords = ['multi-threaded',"video reader", 'CV2', 'CV'],
# Packages and depencies
package_dir={'': 'src'},
packages=find_packages('src'),
install_requires=[
'opencv-python'
],
# Data files
package_data={
},
# Scripts
entry_points={
},
# Other configurations
zip_safe=False,
platforms='any',
)