Skip to content

Commit

Permalink
Remove not used dependencies and modify imports for python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
juga0 committed Jun 5, 2017
1 parent 5f26b4d commit 6d60911
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dhcpcanon/timers.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
from pytz import utc
from datetime import datetime, timedelta

from constants import MAX_DELAY_SELECTING, RENEW_PERC, REBIND_PERC
from constants import DT_PRINT_FORMAT
from .constants import MAX_DELAY_SELECTING, RENEW_PERC, REBIND_PERC
from .constants import DT_PRINT_FORMAT

logger = logging.getLogger(__name__)

Expand Down
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,11 @@
url=dhcpcanon.__website__,
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
install_requires=[
"scapy>=2.2",
'scapy>=2.2";python_version<="2.7"',
'scapy-python3>=0.21;python_version>="3.4"',
"netaddr>=0.7",
"ipaddr>=2.1",
"pytz>=2016.6",
"pip>=8.1",
"pyroute2>=0.4",
"attrs>=16.3",
"daemon>=1.1"
],
Expand Down

0 comments on commit 6d60911

Please sign in to comment.