Lines Matching refs:Python
1 PIP=`which pip || (python --version 2>&1 | grep -q 'Python 2' && which pip2) || (python --version 2>&1 | grep -q 'Python 3' && which pip3)`
17 if python --version 2>&1 | grep -q '^Python 3\.[0123]'
19 # cryptography with Python 3 < 3.4 requires enum34
23 if ! python --version 2>&1 | grep -q PyPy; then
45 $SCAPY_SUDO $PIP install $PIP_INSTALL_FLAGS -U http://http.debian.net/debian/pool/main/p/python-libpcap/python-libpcap_0.6.4.orig.tar.gz
47 # wget https://pypi.python.org/packages/71/60/15b9e0005bf9062bdc04fc8129b4cdb01cc4189a75719441ff2e23e55b15/dnet-real-1.12.tar.gz
56 mkdir -p /Users/travis/Library/Python/2.7/lib/python/site-packages
57 echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> /Users/travis/Library/Python/2.7/lib/python/site-packages/homebrew.pth
60 brew install --with-python libdnet