https://github.com/dell/lctool
lctool
https://github.com/dell/lctool
Last synced: 8 months ago
JSON representation
lctool
- Host: GitHub
- URL: https://github.com/dell/lctool
- Owner: dell
- License: other
- Created: 2016-08-17T20:40:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-10-06T05:20:19.000Z (over 2 years ago)
- Last Synced: 2024-09-20T00:05:58.524Z (over 1 year ago)
- Language: Shell
- Size: 3.22 MB
- Stars: 4
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README-developing.txt
- License: COPYING
Awesome Lists containing this project
README
This package depends on the 'stdcli' package. Install that first (it has identical install instructions, so you can also install it similar to the instructions below.) Also, you will need to install pywbem, which isnt in the default OS installs, but should be available in your OS.
To develop on RHEL6+:
1) ensure ~/.local/bin is on your PATH. add the following to your ~/.bashrc:
export PATH=$PATH:~/.local/bin
2) Then run the setuptoolsl setup.py (included):
$ python ./setup.py develop --user
This will install "symlinks" to your local directory in ~/.local/lib/python$VER/site-packages/.
Now, when you run the "lctool" binary, it will run the copy in ~/.local/bin/ and will use the libraries from ~/.local/lib, even if you otherwise have a copy installed on your system. This also allows multiple people to each develop on one system and use their own local copy.
To develop on RHEL5:
RHEL5 doesnt have the nifty ~/.local/ trick, so only one copy can be installed on a machine for development purposes at a time.
$ python ./setup.py develop
This will install system symlinks pointing to your local directory.