Skip to content

Commit

Permalink
fix: Fix dependencies for py2
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Feb 6, 2019
1 parent 3eeae9f commit ec60442
Show file tree
Hide file tree
Showing 3 changed files with 104 additions and 59 deletions.
155 changes: 100 additions & 55 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pymisp/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
unicode = str
except ImportError:
from urlparse import urljoin
logger.warning("You're using python 2, it is strongly recommended to use python >=3.5")
logger.warning("You're using python 2, it is strongly recommended to use python >=3.6")

try:
import requests
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,16 @@
'Topic :: Internet',
],
install_requires=['six', 'requests', 'python-dateutil', 'jsonschema',
'python-dateutil', 'enum34;python_version<"3.4"'],
'python-dateutil', 'enum34;python_version<"3.4"',
'functools32;python_version<"3.0"'],
extras_require={'fileobjects': ['lief>=0.8', 'python-magic'],
'neo': ['py2neo'],
'openioc': ['beautifulsoup4'],
'virustotal': ['validators']},
tests_require=[
'jsonschema',
'python-magic',
'requests-mock',
'six'
'requests-mock'
],
test_suite="tests.test_offline",
include_package_data=True,
Expand Down

0 comments on commit ec60442

Please sign in to comment.