This repository has been archived by the owner on Nov 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add message linking to copier template and exit before prompts (#195)
* Add message linking to copier template and exit before prompts * Update tests
- Loading branch information
1 parent
4fae689
commit f53390a
Showing
2 changed files
with
27 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import sys | ||
|
||
|
||
if __name__ == '__main__': | ||
print("\n\n\n") | ||
print("#" * 80) | ||
print("The napari cookiecutter plugin template has been replaced with a copier template!") | ||
print() | ||
print("To create a plugin using the new template, run:") | ||
print() | ||
print("python -m pip install copier jinja2-time") | ||
print("python -m pip install npe2") | ||
print("copier copy --trust https://github.com/napari/napari-plugin-template new-plugin-name") | ||
print() | ||
print("For more information, refer to the template README:") | ||
print("https://github.com/napari/napari-plugin-template") | ||
print("#" * 80) | ||
print("\n\n\n") | ||
sys.exit(1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters