forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[xcvrd] Remove dependence on enum; Add 'sonic-py-common' as dependenc…
…ies in setup.py (sonic-net#106) Remove dependence on the 'enum' package, as we are currently transitioning from Python 2 to Python 3 and there are installation conflict issues between the `enum` package and the `enum34` package. Add 'sonic-py-common' as dependencies in setup.py for xcvrd, also add spaces around "equals" signs.
- Loading branch information
Showing
2 changed files
with
33 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,26 @@ | ||
from setuptools import setup | ||
|
||
setup( | ||
name='sonic-xcvrd', | ||
version='1.0', | ||
description='Transceiver monitoring daemon for SONiC', | ||
license='Apache 2.0', | ||
author='SONiC Team', | ||
author_email='[email protected]', | ||
url='https://github.com/Azure/sonic-platform-daemons', | ||
maintainer='Kebo Liu', | ||
maintainer_email='[email protected]', | ||
scripts=[ | ||
name = 'sonic-xcvrd', | ||
version = '1.0', | ||
description = 'Transceiver monitoring daemon for SONiC', | ||
license = 'Apache 2.0', | ||
author = 'SONiC Team', | ||
author_email = '[email protected]', | ||
url = 'https://github.com/Azure/sonic-platform-daemons', | ||
maintainer = 'Kebo Liu', | ||
maintainer_email = '[email protected]', | ||
scripts = [ | ||
'scripts/xcvrd', | ||
], | ||
setup_requires= [ | ||
install_requires = [ | ||
# NOTE: This package also requires swsscommon, but it is not currently installed as a wheel | ||
'sonic-py-common', | ||
], | ||
setup_requires = [ | ||
'wheel' | ||
], | ||
classifiers=[ | ||
classifiers = [ | ||
'Development Status :: 4 - Beta', | ||
'Environment :: No Input/Output (Daemon)', | ||
'Intended Audience :: Developers', | ||
|
@@ -28,5 +32,5 @@ | |
'Programming Language :: Python :: 2.7', | ||
'Topic :: System :: Hardware', | ||
], | ||
keywords='sonic SONiC TRANSCEIVER transceiver daemon XCVRD xcvrd', | ||
keywords = 'sonic SONiC TRANSCEIVER transceiver daemon XCVRD xcvrd', | ||
) |