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

Quality of life improvements in install scripts #14

Closed
1 of 2 tasks
txoof opened this issue Feb 15, 2022 · 4 comments
Closed
1 of 2 tasks

Quality of life improvements in install scripts #14

txoof opened this issue Feb 15, 2022 · 4 comments

Comments

@txoof
Copy link
Owner

txoof commented Feb 15, 2022

I'd like to make a few more quality of life improvements for the end user like adding a way to see a list of compatible screens and maybe adding at least one plugin to the base ini file (even if it's disabled by default).
Originally posted by @aaronr8684 in #7 (comment)

  • add more default plutins
  • provide list of compatible screens during install process
@txoof
Copy link
Owner Author

txoof commented Feb 15, 2022

#!/usr/bin/env python3
import sys
from epdlib.Screen import *
sys.path.append('./paperpi')
list_compatible_modules()

that codesnip will produce a list of all the modules. It's a little verbose, but it could do the job:

NN. Board        Supported:
---------------------------
00. epd1in02     False
    Issues:
     * AttributeError: module does not support `EPD.display()`
01. epd1in54     True
02. epd1in54_V2  True
03. epd1in54b    True
04. epd1in54b_V2 True
05. epd1in54c    True
06. epd2in13     True
07. epd2in13_V2  True
08. epd2in13_V3  True
09. epd2in13b_V3 True
10. epd2in13bc   True
11. epd2in13d    True
12. epd2in66     True 
....

@txoof
Copy link
Owner Author

txoof commented Feb 15, 2022

Or maybe wait on this until we roll in Omni EPD.

@aaronr8684
Copy link
Collaborator

I like this for now. The Omni module has a similar function that we could replace this with when we switch over. What do you think about adding a verbose flag to the list_compatible_modules function that defaults to True, but could be set to False if we just want a list of support without the what/why?

@aaronr8684
Copy link
Collaborator

I'm not sure the second item is really needed. See my note in #9

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

No branches or pull requests

2 participants