Skip to content

Commit

Permalink
Make the main.py module importable in older python
Browse files Browse the repository at this point in the history
This should fix the build on github actions
  • Loading branch information
lbonn committed Feb 6, 2024
1 parent af74a11 commit a1ff53b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions i3_quickterm/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from .main import main
from .main import main as run_main

__all__ = ["main"]
__all__ = ["run_main"]
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def find_version(*file_paths):
},
entry_points={
"console_scripts": [
"i3-quickterm=i3_quickterm:main",
"i3-quickterm=i3_quickterm:run_main",
],
},
project_urls={
Expand Down

0 comments on commit a1ff53b

Please sign in to comment.