python-hwinfo
python-hwinfo copied to clipboard
python3 not supported
build successfully with python2.7 progress bellow:
pip3 install setuptools
cp -R /usr/local/lib/python3.6/site-packages/setuptools* /usr/lib/python2.7/site-packages/
python setup.py install
cp dist/python_hwinfo* /usr/lib/python2.7/site-packages/
echo "main()" >> ./hwinfo/tools/tests/test_inspector.py
sudo mv inspector.py /usr/bin/hwinfo
chmod 777 /usr/bin/hwinfo