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

Package this app for PyPI #31

Closed
lemonsaurus opened this issue Jan 24, 2021 · 0 comments · Fixed by #40
Closed

Package this app for PyPI #31

lemonsaurus opened this issue Jan 24, 2021 · 0 comments · Fixed by #40
Labels

Comments

@lemonsaurus
Copy link
Owner

Let's get this application on PyPI.

The end result should be that when this application is pip installed, it allows you to use a blackbox command to essentially do the same thing that python main.py currently will do.

That greatly simplifies the work needed to get this working locally:

  • Install blackbox with pip install blackbox
  • Set up a cron job that runs blackbox however often you want.

It also means we can add additional CLI utilities, such as one for setting up the cron job, maybe an interactive configuration tool, or whatever else.

Okay, don't get carried away. What's this issue?

Yeah, so this issue is just that we want some way of installing this so that running blackbox will run python main.py. That's it. Probably involves creating a setup.py file and maybe looking into doing this in a nice PEP 518 compliant and future-proof way, maybe with a pyproject.toml?

This issue is solved when you can use pip install -e . to install blackbox - we'll handle CI and stuff in a seperate issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant