-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
33 lines (29 loc) · 964 Bytes
/
setup.py
File metadata and controls
33 lines (29 loc) · 964 Bytes
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
from install_packages import install_scikit_image
from os import path
from setuptools import setup, find_packages
from setuptools.command.install import install
with open(path.join(path.dirname(__file__),
'README.md')) as f:
long_description = f.read()
class Installer(install):
"""
Custom installer to install dependencies
"""
def run(self):
install.run(self)
self.execute(install_scikit_image, [],
msg="Installing Scikit-image library")
setup(
name="avtools",
version="1.0.0",
author="Veerendra",
author_email="",
description="MediaQuality for Automation",
packages=find_packages(),
install_requires=['psutil', 'pillow', 'watchdog',
'pyyaml', 'pyqrcode', 'python-resize-image',
'six', 'bs4', 'numpy', 'pytest'],
long_description=long_description,
zip_safe=False,
cmdclass={"install": Installer}
)