This diff contains the files for a new script, Krita Script Starter. The script, when run, will prompt the user for meta data related to the script, then create the file structure to get started on a the script, primarily based on the name given to the script. This makes it easy to create new scripts - eg for new users, or for creating scripts for testing purposes.
Details
Details
- Reviewers
rempt - Group Reviewers
Krita - Commits
- R37:67b45f0c9ade: Add script starter script
Run script
Enter data
Click create
Check that:
- a package directory is created based on the name of the script given
- in the directory are the files: __init__.py <name_of_script>.py and Manual.py
- check __init__.py imports from the correct script name
- check <name of script>.py has skeleton code that will create the correct type of script (ie docker v extension)
- check Manual.py has skeleton html for the
- a desktop metadata file is created that correctly references the script files
- files are in the correct directory
Diff Detail
Diff Detail
- Repository
- R37 Krita
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Oh nice! You'll need to add it to the krita/plugins/python/CMakeLists.txt file, too, though!
Comment Actions
BTW If the ui file is in the same directory as the script it will run from the command line. So you can run it stand alone to test.