Advertisement
cooperlees

Untitled

Sep 30th, 2020
1,087
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.26 KB | None | 0 0
  1. cooper@home1:/tmp$ python3 -m venv /tmp/tt
  2. cooper@home1:/tmp$ /tmp/tt/bin/pip install -U pip setuptools wheel
  3. Collecting pip
  4.   Downloading pip-20.2.3-py2.py3-none-any.whl (1.5 MB)
  5.      |████████████████████████████████| 1.5 MB 930 kB/s
  6. Collecting setuptools
  7.   Downloading setuptools-50.3.0-py3-none-any.whl (785 kB)
  8.      |████████████████████████████████| 785 kB 10.1 MB/s
  9. Collecting wheel
  10.   Downloading wheel-0.35.1-py2.py3-none-any.whl (33 kB)
  11. Installing collected packages: pip, setuptools, wheel
  12.   Attempting uninstall: pip
  13.     Found existing installation: pip 20.0.2
  14.     Uninstalling pip-20.0.2:
  15.       Successfully uninstalled pip-20.0.2
  16.   Attempting uninstall: setuptools
  17.     Found existing installation: setuptools 44.0.0
  18.     Uninstalling setuptools-44.0.0:
  19.       Successfully uninstalled setuptools-44.0.0
  20. Successfully installed pip-20.2.3 setuptools-50.3.0 wheel-0.35.1
  21.  
  22. cooper@home1:/tmp$ /tmp/tt/bin/pip install -e tripplite/[exporter]
  23. Obtaining file:///tmp/tripplite
  24. Collecting hidapi
  25.   Using cached hidapi-0.9.0.post3.tar.gz (57 kB)
  26. Collecting prometheus_client
  27.   Using cached prometheus_client-0.8.0-py2.py3-none-any.whl (53 kB)
  28. Requirement already satisfied: setuptools>=19.0 in ./tt/lib/python3.8/site-packages (from hidapi->tripplite==0.2.4) (50.3.0)
  29. Building wheels for collected packages: hidapi
  30.   Building wheel for hidapi (setup.py) ... done
  31.   Created wheel for hidapi: filename=hidapi-0.9.0.post3-cp38-cp38-linux_x86_64.whl size=353639 sha256=30eca4de14431b55529212450587ae353d5e691b0d90d43cbdb983a73f49bedb
  32.   Stored in directory: /home/cooper/.cache/pip/wheels/32/c2/9d/c56de8fc68dc7b76d27a4393d29bcb48bc280952fe3aa1563c
  33. Successfully built hidapi
  34. Installing collected packages: hidapi, prometheus-client, tripplite
  35.   Running setup.py develop for tripplite
  36. Successfully installed hidapi-0.9.0.post3 prometheus-client-0.8.0 tripplite
  37.  
  38. cooper@home1:/tmp$ /tmp/tt/bin/tripplite-exporter --help
  39. usage: tripplite-exporter [-h] [-d] [-p PORT]
  40.  
  41. optional arguments:
  42.   -h, --help            show this help message and exit
  43.   -d, --debug           Verbose debug output
  44.   -p PORT, --port PORT  Port to run webserver on [DEFAULT = 6969]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement