Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

80 packaging #82

Merged
merged 15 commits into from
Jan 17, 2025
Merged

80 packaging #82

merged 15 commits into from
Jan 17, 2025

Conversation

shiyingwucl
Copy link
Collaborator

@shiyingwucl shiyingwucl commented Jan 14, 2025

  • Add source and wheel distributions
  • Update structure (Added src folder and moved shortlister inside it)
  • Add cli command to run shortlister

dist/shortlister-0.1.0-py2.py3-none-any.whl Outdated Show resolved Hide resolved
src/shortlister/controller.py Outdated Show resolved Hide resolved
pyproject.toml Outdated
]

[project.scripts]
shortlist = "shortlister.main:run_controller"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm experience some strange behaviour - when I run shortlist, I need to quit out of the program twice. Are you seeing the same?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same bug for me too, I've been looking into this but haven't found a solution yet

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed!

@shiyingwucl shiyingwucl requested a review from tamuri January 17, 2025 15:25
Copy link
Collaborator

@tamuri tamuri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small change to function name, otherwise looking good - thanks!

webview.start(run_controller, args=[window])
else:
run_controller(None)
def boot():
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should typically be named something like start, run or main.

@shiyingwucl shiyingwucl merged commit f9479fc into main Jan 17, 2025
2 checks passed
@shiyingwucl shiyingwucl deleted the 80-packaging branch January 17, 2025 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants