Skip to content

Commit 8adb7b0

Browse files
authored
Merge pull request #998 from NetSys/pip
add requirements.txt for pip & virtualenv
2 parents 2907150 + 101d9f6 commit 8adb7b0

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,5 @@ vm.key
4949
# JSON Compilation Database
5050
compile_commands.json
5151

52+
# virtualenv
53+
venv/

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ before_install:
3838
install:
3939
- sudo apt-get install -y python2.7 python3 python3-pip python3-setuptools ruby-dev
4040
- sudo gem install ffi fpm
41-
- pip2 install --user grpcio==1.10 scapy codecov
42-
- pip3 install --user grpcio==1.10 scapy coverage
41+
- pip2 install --user -r requirements.txt codecov
42+
- pip3 install --user -r requirements.txt coverage
4343
- "[[ ${COVERAGE:-0} == 0 ]] || sudo apt-get install -y gcc-7" # install gcov-7
4444
- "[[ ${SANITIZE:-0} == 0 ]] || sudo apt-get install -y llvm-3.9"
4545
- "docker pull nefelinetworks/bess_build:latest${TAG_SUFFIX} | cat" # cat suppresses progress bars

requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
scapy
2+
flask
3+
grpcio
4+
protobuf

0 commit comments

Comments
 (0)