Skip to contentSkip to conversation

Add configshell-fb to install requirements

PATCH New Jon Bernard 1 participant 1 message Jul 16, 2022 NVMe

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add configshell-fb to install requirements

The 'install_requires' keyword is used to specify what is minimally needed to run correctly. This patch adds configshell-fb as a requirement so that nvmetcli runs correctly without additional dependency installation. This will not effect distribution packages, only users that install using pip.

Also remove a reference to the 'pyparsing' package in README as it's no longer in use.

---
 README   | 3 ---
 setup.py | 3 ++-
 2 files changed, 2 insertions(+), 4 deletions(-)
README +0 -3
index 6ebe666..ae95fcf 100644
@@ -17,9 +17,6 @@ Common Package Dependencies and Problems
 Both python2 and python3 are supported via use of the 'python-six'
 package.
 
-nvmetcli uses the 'pyparsing' package -- running nvmetcli without this
-package may produce hard-to-decipher errors.
-
 Usage
 -----
 Look at Documentation/nvmetcli.txt for details.
setup.py +2 -1
index 1956d95..71c7cd2 100755
@@ -27,5 +27,6 @@ setup(
     maintainer_email = '[email protected]',
     test_suite='nose2.collector.collector',
     packages = ['nvmet'],
-    scripts=['nvmetcli']
+    scripts=['nvmetcli'],
+    install_requires=["configshell-fb"]
     )
Signature · 1 line
2.37.1