setup.py 1.12 KB
Newer Older
Kaushik Shivakumar's avatar
setup  
Kaushik Shivakumar committed
1
2
"""Setup script for object_detection with TF2.0."""
import os
3
4
5
from setuptools import find_packages
from setuptools import setup

Kaushik Shivakumar's avatar
setup  
Kaushik Shivakumar committed
6
7
8
9
10
11
# Note: adding apache-beam to required packages causes conflict with
# tf-models-offical requirements. These packages request for incompatible
# oauth2client package.
REQUIRED_PACKAGES = ['pillow', 'lxml', 'matplotlib', 'Cython', 'contextlib2',
                     'tf-slim', 'six', 'pycocotools', 'scipy', 'pandas',
                     'tf-models-official']
12
13
14
15
16
17

setup(
    name='object_detection',
    version='0.1',
    install_requires=REQUIRED_PACKAGES,
    include_package_data=True,
Kaushik Shivakumar's avatar
setup  
Kaushik Shivakumar committed
18
19
20
21
22
23
24
25
26
27
    packages=(
        [p for p in find_packages() if p.startswith('object_detection')] +
        find_packages(where=os.path.join('.', 'slim'))),
    package_dir={
        'datasets': os.path.join('slim', 'datasets'),
        'nets': os.path.join('slim', 'nets'),
        'preprocessing': os.path.join('slim', 'preprocessing'),
        'deployment': os.path.join('slim', 'deployment'),
        'scripts': os.path.join('slim', 'scripts'),
    },
28
    description='Tensorflow Object Detection Library',
Kaushik Shivakumar's avatar
setup  
Kaushik Shivakumar committed
29
    python_requires='>3.6',
30
)