Changed directory structure to support pip
This commit is contained in:
@@ -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.
|
||||
@@ -0,0 +1 @@
|
||||
A threaded PubSub OpenCV interfaceREADME.md. Webcam and video feeds to multiple windows is supported.
|
||||
+2
-2
@@ -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
|
||||
|
||||
@@ -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:
|
||||
@@ -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',
|
||||
]
|
||||
)
|
||||
Reference in New Issue
Block a user