-
-
Notifications
You must be signed in to change notification settings - Fork 677
Description
A cross of
- https://github.com/ilyasotkov/vscode-devcontainer-python-cookiecutter
- https://github.com/mmasdeu/sage_package_template
The devcontainer config would be one of those added in #33671 (sagemath-sage or downstream-...).
Prospective sage users on Windows can use the devcontainer config to automate the Sage install in WSL. VS Code walks you through this.
Also a command sage --cookiecutter or sage --new-project could be added.
Cookiecutter details:
- https://cookiecutter.readthedocs.io/en/2.6.0/advanced/templates.html
- https://cookiecutter.readthedocs.io/en/2.6.0/advanced/directories.html - symlinks for files are OK
- https://cookiecutter.readthedocs.io/en/2.6.0/advanced/calling_from_python.html
Cookiecutter template inspiration:
- https://github.com/audreyfeldroy/cookiecutter-pypackage/tree/master/%7B%7Bcookiecutter.project_slug%7D%7D
- https://github.com/cjolowicz/cookiecutter-hypermodern-python
Alternative to cookiecutter:
-
https://cruft.github.io/cruft/ (compatible with cookiecutter, has update mechanism)
-
https://marketplace.visualstudio.com/items?itemName=cantonios.project-templates
-
Getting a devcontainer template for Sage into https://github.com/microsoft/vscode-dev-containers/tree/main/containers ..... this has been replaced by https://github.com/devcontainers/templates
-
github's template repo https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-template-repository; perhaps combined with https://github.com/marketplace/actions/actions-template-sync
Component: scripts
Issue created by migration from https://trac.sagemath.org/ticket/34286