0ef7e3be18
* fix name conflict between sonic_platfrom package and sonic_platform.py
* update sonic-utility submodule to pickup lastest fix
* Revert "update sonic-utility submodule to pickup lastest fix"
This reverts commit f66aa99738
.
* update sonic-utility sub module
27 lines
871 B
Python
Executable File
27 lines
871 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
from setuptools import setup
|
|
import os.path
|
|
import unittest
|
|
import glob
|
|
|
|
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=['portconfig', 'minigraph', 'openconfig_acl', 'sonic_device_util', 'config_samples'],
|
|
scripts=['sonic-cfggen'],
|
|
install_requires=['lxml', 'jinja2>=2.10', 'netaddr', 'ipaddr', 'pyyaml', 'pyangbind==0.6.0'],
|
|
test_suite='setup.get_test_suite',
|
|
data_files=[
|
|
('/usr/share/sonic/templates', glob.glob('data/*')),
|
|
],
|
|
)
|