Move streaming dependancies to their own "extra"

This commit is contained in:
jdiamond
2021-03-30 23:04:18 +00:00
parent 5ac45d8b20
commit 8cd3405378
2 changed files with 58 additions and 42 deletions

View File

@@ -26,13 +26,17 @@ AUTHOR_EMAIL = 'alanoterblanche@gmail.com'
AUTHOR = 'Benehiko'
LICENSE = 'GPL-3.0'
INSTALL_REQUIRES = [
'numpy==1.19.4',
'opencv-python==4.4.0.46',
'Pillow==8.0.1',
'PySocks==1.7.1',
'PyYaml==5.3.1',
'requests>=2.18.4',
]
EXTRAS_REQUIRE = {
'streaming': [
'numpy==1.19.4',
'opencv-python==4.4.0.46',
'Pillow==8.0.1',
],
}
here = os.path.abspath(os.path.dirname(__file__))
@@ -53,5 +57,6 @@ setup(
url=URL,
license=LICENSE,
install_requires=INSTALL_REQUIRES,
packages=find_packages(exclude=['examples', 'tests'])
packages=find_packages(exclude=['examples', 'tests']),
extras_require=EXTRAS_REQUIRE
)