Changed directory structure to support pip

This commit is contained in:
SimLeek
2018-01-27 18:37:21 -07:00
parent d64d214511
commit 149d15352b
13 changed files with 15 additions and 8 deletions
+1 -1
View File
@@ -1 +1 @@
A threaded PubSub OpenCV interface. Webcam and video feeds to multiple windows is supported.
A threaded PubSub OpenCV interfaceREADME.md. Webcam and video feeds to multiple windows is supported.
+1
View File
@@ -0,0 +1 @@
A threaded PubSub OpenCV interfaceREADME.md. Webcam and video feeds to multiple windows is supported.
+2 -2
View File
@@ -1,2 +1,2 @@
from .cv_webcam_pub import *
from .cv_window_sub import sub_win_loop, frame_dict
# redirection, so we can use subtree like pip
from .cv_pubsubs import cv_webcam_pub, cv_window_sub
View File
+1
View File
@@ -0,0 +1 @@
from .cv_window_sub import sub_win_loop, frame_dict
@@ -1,10 +1,9 @@
import cv2
from .cv_webcam_pub.camctrl import CamCtrl
from ..cv_webcam_pub.camctrl import CamCtrl
if False:
from typing import List
cvWindows = []
frame_dict = {}
@@ -15,7 +14,6 @@ def sub_win_loop(*,
callbacks=(None,),
input_cams=(0,)
):
global cvWindows
global frame_dict
while True:
+9 -2
View File
@@ -6,8 +6,15 @@ setup(
version='0.1',
description='Pubsub interface for Python OpenCV',
author='Josh Miklos',
author_email='Simulator.Leek@gmail.com',
author_email='simulatorleek@gmail.com',
url='https://github.com/SimLeek/cv_pubsubs',
download_url='https://github.com/SimLeek/cv_pubsubs/archive/0.1.tar.gz',
keywords=['OpenCV', 'PubSub']
keywords=['OpenCV', 'PubSub'],
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
]
)