Skip to content

Commit

Permalink
embedded pydes
Browse files Browse the repository at this point in the history
  • Loading branch information
denisenkom committed Jan 29, 2014
1 parent dc09d2a commit 66eabc0
Show file tree
Hide file tree
Showing 5 changed files with 853 additions and 7 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ install:
- "pip install -r requirements.txt --use-mirrors"
- "pip install -r test_requirements.txt --use-mirrors"
- "pip install -r test_requirements26.txt --use-mirrors; true"
- "pip install pydes --use-mirrors"
script: nosetests
1 change: 0 additions & 1 deletion ci.bat
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
%PYTHONHOME%\scripts\virtualenv env
call env\scripts\activate.bat
pip install pydes --use-mirrors
pip install coverage --use-mirrors
pip install -r requirements.txt --use-mirrors
pip install -r test_requirements.txt --use-mirrors
Expand Down
1 change: 0 additions & 1 deletion ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ set -e

$PYTHONHOME/bin/virtualenv env
. env/bin/activate
pip install pydes --use-mirrors
pip install coverage --use-mirrors
pip install -r requirements.txt --use-mirrors
pip install -r test_requirements.txt --use-mirrors
Expand Down
5 changes: 1 addition & 4 deletions pytds/ntlm.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,14 @@
import struct
import base64
import string
try:
import pyDes
except:
raise Exception('To use ntlm authentication you should install pyDes module: pip install pydes')
import hashlib
import hmac
import random
import re
import binascii
from socket import gethostname
from six import print_, int2byte
from . import pyDes

NTLM_NegotiateUnicode = 0x00000001
NTLM_NegotiateOEM = 0x00000002
Expand Down
Loading

0 comments on commit 66eabc0

Please sign in to comment.