sonic-buildimage/src/sonic-config-engine/setup.py
sihuihan88 ec73735d21 [sonic-cfggen]: Move get_machine_info function to sonic_platform.py (#489)
* Move get_machine_info to lib
* Add get platform info API
* Create sonic_platform.py

Signed-off-by: Sihui Han <sihan@microsoft.com>
2017-04-11 13:04:21 -07:00

23 lines
739 B
Python
Executable File

#!/usr/bin/env python
from setuptools import setup
import os.path
import unittest
def get_test_suite():
test_loader = unittest.TestLoader()
test_suite = test_loader.discover('tests', pattern='*.py')
return test_suite
setup(name='sonic-config-engine',
version='1.0',
description='Utilities for generating SONiC configuration files',
author='Taoyu Li',
author_email='taoyl@microsoft.com',
url='https://github.com/Azure/sonic-buildimage',
py_modules=['minigraph', 'openconfig_acl', 'sonic_platform'],
scripts=['sonic-cfggen', 'translate_acl'],
install_requires=['lxml', 'jinja2', 'netaddr', 'ipaddr', 'pyyaml', 'pyangbind'],
test_suite='setup.get_test_suite',
)