Skip to content

Commit

Permalink
Bumped scapy version to 2.4.0, compatible with both py2 and py3
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkjanm committed Mar 28, 2018
1 parent d42a9af commit 9e6e443
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
scapy; python_version < '3.0'
scapy>=2.4
ipaddress; python_version < '3.0'
future; python_version < '3.0'

scapy-python3; python_version > '3.0'

twisted
netifaces
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
import sys
# Python 2 vs 3 requirements
if sys.version_info[0] == 2:
reqs = ["scapy", "ipaddress", "future", "twisted", "netifaces"]
reqs = ["scapy>=2.4", "ipaddress", "future", "twisted", "netifaces"]
else:
reqs = ["scapy-python3", "twisted", "netifaces"]
reqs = ["scapy>=2.4", "twisted", "netifaces"]

setup(name='mitm6',
version='0.2.0',
Expand Down

0 comments on commit 9e6e443

Please sign in to comment.