Skip to content

Commit

Permalink
Update install.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Pymmdrza authored Sep 26, 2023
1 parent 6dad0e7 commit d5f4789
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions install.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import subprocess
import platform


def subInstall(package_name: str):
if "win" in platform.platform().lower():
subprocess.check_call([sys.executable, "-m", "pip", "install", package_name])
Expand All @@ -17,12 +18,18 @@ def subInstall(package_name: str):
def install_deps():
deps = ["ecdsa", "setuptools", "wheel", "hdwallet"]
for dep in deps:
print(f" {green}Installing{reset}:{yellow} {dep}{reset}")
print(f" Installing: {dep} ----------------------------------")
subInstall(dep)

def install_cryptofuzz():
url = "git+https://github.com/your_username/cryptofuzz.git"
subprocess.check_call([sys.executable, "-m", "pip", "install", url])


def main():
install_deps()
print(f"{red}CryptoFuzz{reset} {green}With dependencies have been installed!{reset}")
install_cryptofuzz()
print("cryptofuzz and its dependencies have been installed!")


if __name__ == "__main__":
Expand Down

0 comments on commit d5f4789

Please sign in to comment.