This repository was archived by the owner on Jun 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
45 lines (39 loc) · 1.33 KB
/
setup.py
File metadata and controls
45 lines (39 loc) · 1.33 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# -*- coding: utf-8 -*-
from distutils.core import setup
import re
REPOSITORY = 'https://github.com/shoeffner/cvloop'
README = ''
with open('cvloop/__init__.py', 'r') as fd:
VERSION = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
with open('README.rst', 'r') as f:
README = f.read()
README = re.sub(
r' _(.+): ([^(http)].+)',
r' _\1: {}/blob/master/\2'.format(REPOSITORY),
README)
setup(
name='cvloop',
version=VERSION,
description='cvloop allows online video transformation and evaluation with OpenCV. Designed for jupyter notebooks.', # noqa
long_description=README,
author='Sebastian Höffner',
author_email='info@sebastian-hoeffner.de',
url=REPOSITORY,
download_url='{}/tarball/{}'.format(REPOSITORY, VERSION),
packages=['cvloop'],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Topic :: Multimedia :: Video :: Display',
],
license='MIT',
keywords=[
'OpenCV', 'cv2', 'video', 'loop', 'jupyter', 'notebook'
],
)