video recording and thread

This commit is contained in:
ingvar1995
2016-08-08 12:10:18 +03:00
parent 01546f0047
commit f8a7087779
3 changed files with 67 additions and 7 deletions

View File

@@ -8,15 +8,21 @@ import sys
version = program_version + '.0'
MODULES = []
MODULES = ['numpy']
if system() in ('Windows', 'Darwin'):
MODULES = ['PyAudio', 'PySide']
MODULES.extend(['PyAudio', 'PySide'])
else:
try:
import pyaudio
except ImportError:
MODULES = ['PyAudio']
MODULES.append('PyAudio')
if system() == 'Windows':
DEPS_LINKS = [] # TODO: add opencv.whl
else:
DEPS_LINKS = []
class InstallScript(install):
@@ -55,6 +61,7 @@ setup(name='Toxygen',
license='GPL3',
packages=['toxygen', 'toxygen.plugins', 'toxygen.styles'],
install_requires=MODULES,
dependency_links=DEP_LINKS,
include_package_data=True,
classifiers=[
'Programming Language :: Python :: 3 :: Only',