File tree Expand file tree Collapse file tree 3 files changed +19
-16
lines changed
Expand file tree Collapse file tree 3 files changed +19
-16
lines changed Original file line number Diff line number Diff line change 11import argparse
22import subprocess
33import sys
4+
45from .constants import (
56 ARTIFACTS_DIR ,
67 INSTALL_VERSIONS ,
78 SHOW_VERSIONS ,
8- USE_VERSION ,
99 UPGRADE ,
10+ USE_VERSION ,
1011)
1112from .solc_select import (
12- valid_install_arg ,
13- valid_version ,
14- get_installable_versions ,
15- install_artifacts ,
16- switch_global_version ,
1713 current_version ,
18- installed_versions ,
14+ get_installable_versions ,
1915 halt_incompatible_system ,
2016 halt_old_architecture ,
17+ install_artifacts ,
18+ installed_versions ,
19+ switch_global_version ,
2120 upgrade_architecture ,
21+ valid_install_arg ,
22+ valid_version ,
2223)
2324from .utils import sort_versions
2425
Original file line number Diff line number Diff line change 11import argparse
22import hashlib
33import json
4- from zipfile import ZipFile
54import os
6- import shutil
75import re
6+ import shutil
87import sys
98import urllib .request
109from pathlib import Path
11- from packaging .version import Version
10+ from zipfile import ZipFile
11+
1212from Crypto .Hash import keccak
13+ from packaging .version import Version
14+
1315from .constants import (
14- LINUX_AMD64 ,
15- MACOSX_AMD64 ,
16- WINDOWS_AMD64 ,
17- EARLIEST_RELEASE ,
18- SOLC_SELECT_DIR ,
1916 ARTIFACTS_DIR ,
2017 CRYTIC_SOLC_ARTIFACTS ,
2118 CRYTIC_SOLC_JSON ,
19+ EARLIEST_RELEASE ,
20+ LINUX_AMD64 ,
21+ MACOSX_AMD64 ,
22+ SOLC_SELECT_DIR ,
23+ WINDOWS_AMD64 ,
2224)
2325from .utils import mac_binary_is_universal , mac_can_run_intel_binaries
2426
Original file line number Diff line number Diff line change 1- from pathlib import Path
21import platform
32import subprocess
43import sys
4+ from pathlib import Path
55from typing import List
66
77from packaging .version import Version
You can’t perform that action at this time.
0 commit comments