51c77b179f
python2 is end of life and SONiC is going to support python3. This PR is going to support: 1. Mellanox SONiC platform API python3 support 2. Install both python2 and python3 verson of Mellanox SONiC platform API or pmon and host side
41 lines
1.2 KiB
Python
41 lines
1.2 KiB
Python
from setuptools import setup
|
|
|
|
setup(
|
|
name='mlnx-platform-api',
|
|
version='1.0',
|
|
description='SONiC platform API implementation on Mellanox platform',
|
|
license='Apache 2.0',
|
|
author='SONiC Team',
|
|
author_email='linuxnetdev@microsoft.com',
|
|
url='https://github.com/Azure/sonic-buildimage',
|
|
maintainer='Kevin Wang',
|
|
maintainer_email='kevinw@mellanox.com',
|
|
packages=[
|
|
'sonic_platform',
|
|
'tests'
|
|
],
|
|
setup_requires= [
|
|
'pytest-runner'
|
|
],
|
|
tests_require = [
|
|
'pytest',
|
|
'mock>=2.0.0'
|
|
],
|
|
classifiers=[
|
|
'Development Status :: 3 - Alpha',
|
|
'Environment :: Plugins',
|
|
'Intended Audience :: Developers',
|
|
'Intended Audience :: Information Technology',
|
|
'Intended Audience :: System Administrators',
|
|
'License :: OSI Approved :: Apache Software License',
|
|
'Natural Language :: English',
|
|
'Operating System :: POSIX :: Linux',
|
|
'Programming Language :: Python :: 2.7',
|
|
'Programming Language :: Python :: 3.7',
|
|
'Topic :: Utilities',
|
|
],
|
|
keywords='sonic SONiC platform PLATFORM',
|
|
test_suite='setup.get_test_suite'
|
|
)
|
|
|