Skip to content

Commit

Permalink
Fix import paths in main and cli modules
Browse files Browse the repository at this point in the history
  • Loading branch information
shankarpandala committed Nov 19, 2023
1 parent 2f8b299 commit ffbc45e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lazygitgpt/__main__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from lazygitgpt.cli import main
from lazygitgpt.lazygitgpt.cli import main

main()
4 changes: 2 additions & 2 deletions lazygitgpt/cli.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env python3

import click
from lazygitgpt.git_operations import clone_repository, checkout_branch
from lazygitgpt.ai_operations import generate_response
from lazygitgpt.lazygitgpt.git_operations import clone_repository, checkout_branch
from lazygitgpt.lazygitgpt.ai_operations import generate_response

@click.group()
def cli():
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
gitpython>=3.1.0
openai>=0.10.0
openai>=0.10.0
click
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
],
entry_points={
"console_scripts": [
"lazygitgpt=lazygitgpt.cli:main", # Linking the CLI script
"lazygitgpt=lazygitgpt.lazygitgpt.cli:main", # Linking the CLI script
],
},
)

0 comments on commit ffbc45e

Please sign in to comment.