Skip to content

Commit 0db6516

Browse files
committed
commands in test.py + add some ignore
1 parent 701b10b commit 0db6516

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
*.pyc
22
build/*
33
*.tar.gz
4+
MANIFEST
5+
dist/*

test.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
1-
# sudo python2 setup.py build
2-
# sudo python2 setup.py install
3-
1+
# Python 2
2+
# python2 setup.py build
43
# python2 iwlist.py wlp59s0 channel
4+
# pip2 install python-wifi==0.6.1
5+
# python2 setup.py sdist --force-manifest --formats=bztar
6+
# pip2 install dist/python-wifi-0.6.2.tar.bz2
7+
# pip2 uninstall python-wifi
8+
9+
# Python 3
10+
# python3 setup.py sdist --force-manifest --formats=bztar
511
# python3 iwlist.py wlp59s0 channel
12+
# python3 setup.py build
13+
# pip3 install dist/python-wifi-0.6.2.tar.bz2
14+
# pip3 uninstall python-wifi
615

7-
# pip2 install python-wifi --ignore-installed
816
import pythonwifi.flags
917
from pythonwifi.iwlibs import Wireless, Iwscan
1018

0 commit comments

Comments
 (0)