diff --git a/setup.py b/setup.py index f7328171c..1d4bdcfd0 100644 --- a/setup.py +++ b/setup.py @@ -10,8 +10,9 @@ setup( python_requires='>=3.6', install_requires=['prettytable>=0.7.2', 'pysha3>=1.0.2', - 'crytic-compile>=0.1.5'], -# dependency_links=['git+https://github.com/crytic/crytic-compile.git@master#egg=crytic-compile'], + #'crytic-compile>=0.1.5'], + 'crytic-compile'], + dependency_links=['git+https://github.com/crytic/crytic-compile.git@master#egg=crytic-compile'], license='AGPL-3.0', long_description=open('README.md').read(), entry_points={ diff --git a/slither/utils/command_line.py b/slither/utils/command_line.py index 2ead86223..348a7752b 100644 --- a/slither/utils/command_line.py +++ b/slither/utils/command_line.py @@ -1,11 +1,9 @@ -import os -import logging import json import os import logging from collections import defaultdict from prettytable import PrettyTable -from crytic_compile.cryticparser.defaults import defaults_flag_in_config as defaults_flag_in_config_crytic_compile +from crytic_compile.cryticparser.defaults import DEFAULTS_FLAG_IN_CONFIG as DEFAULTS_FLAG_IN_CONFIG_CRYTIC_COMPILE from slither.detectors.abstract_detector import classification_txt from .colors import yellow, red @@ -35,7 +33,7 @@ defaults_flag_in_config = { # debug command 'legacy_ast': False, 'ignore_return_value': False, - **defaults_flag_in_config_crytic_compile + **DEFAULTS_FLAG_IN_CONFIG_CRYTIC_COMPILE } def read_config_file(args):