- first pass as rename and dependency update
[face-privacy-filter.git] / setup.py
1 # -*- coding: utf-8 -*-
2 import os
3 from setuptools import setup, find_packages
4
5 # extract __version__ from version file. importing will lead to install failures
6 setup_dir = os.path.dirname(__file__)
7 with open(os.path.join(setup_dir, 'face_privacy_filter', '_version.py')) as file:
8     globals_dict = dict()
9     exec(file.read(), globals_dict)
10     __version__ = globals_dict['__version__']
11
12
13 setup(
14     name=globals_dict['MODEL_NAME'],
15     version=__version__,
16     packages=find_packages(),
17     author="Eric Zavesky",
18     author_email="ezavesky@research.att.com",
19     description=("Face detection and privacy filtering models"),
20     long_description=("Face detection and privacy filtering models"),
21     license="Apache",
22     package_data={globals_dict['MODEL_NAME']: ['data/*']},
23     scripts=['bin/run_face-privacy-filter_reference.py'],
24     setup_requires=['pytest-runner'],
25     entry_points="""
26     [console_scripts]
27     """,
28     # setup_requires=['pytest-runner'],
29     install_requires=['acumos',
30                       'numpy',
31                       'sklearn',
32                       'opencv-python',
33                       globals_dict['MODEL_NAME']],
34     tests_require=['pytest',
35                    'pexpect'],
36     include_package_data=True,
37 )