Skip to content

Commit

Permalink
fix: dependencies installation issue.
Browse files Browse the repository at this point in the history
Signed-off-by: Sahil Suman <[email protected]>
  • Loading branch information
sahilsuman933 committed Dec 11, 2023
1 parent 5ae1da9 commit 19cafa3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions trustauthx/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ def main():
print("\nInstalling dependencies...")
def install(packages):
if packages == "pip install fastapi['all']":
subprocess.call("pip install fastapi['all']")
subprocess.call("pip install fastapi['all']", shell=True)
return
if isinstance(packages, list):
for package in packages:subprocess.call(package)
else:subprocess.call(packages)
for package in packages:subprocess.call(package, shell=True)
else:subprocess.call(packages, shell=True)
install(list_depends)
print("\nDependencies installed.")
a = sdk.Create_App(path=os.getcwd())
Expand Down

0 comments on commit 19cafa3

Please sign in to comment.