You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{% if application_type != 'Minimal' %}src{% endif %}/{% include 'package_folder_slug.j2' %}/{% if application_type in ['Nova Application', 'Tutorial'] %}app{% endif %}/views
Copy file name to clipboardExpand all lines: copier.yml
+11-16Lines changed: 11 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -44,11 +44,6 @@ tool_category:
44
44
Small Angle Neutron Scattering: small-angle-neutron-scattering
45
45
Triple-Axis Spectroscopy: spectroscopy
46
46
47
-
use_mantid:
48
-
type: bool
49
-
help: Do you want to install Mantid for your project?
50
-
default: no
51
-
52
47
# --- Nova Application Specific ---
53
48
# Implicitly GUI if Nova Application is chosen.
54
49
framework:
@@ -101,16 +96,16 @@ _message_after_copy: |
101
96
2. Read "DEVELOPMENT.md" for development guidelines!
102
97
103
98
3. Install project dependencies and setup pre-commit:
104
-
$ poetry install
105
-
$ pre-commit install
99
+
$ pixi install
100
+
$ pixi run pre-commit install
106
101
{% else %}
107
102
2. Review the generated files, including `minimal_config.yaml`.
108
103
You may need to install dependencies like 'git', 'docker', 'bash', 'sed', 'grep', 'mktemp' manually if not already present.
109
104
{% endif %}
110
105
111
106
{% if application_type in ['Nova Application', 'NDIP Tool'] %}
112
107
4. Initialize the Git repository:
113
-
$ poetry run init-repo
108
+
$ pixi run init-repo
114
109
115
110
This script will show you the planned actions and ask for confirmation.
116
111
It will NOT push automatically. After running, review the changes and push manually:
@@ -119,21 +114,21 @@ _message_after_copy: |
119
114
$ git push --set-upstream origin main
120
115
121
116
5. Test if the application runs:
122
-
$ poetry run app
117
+
$ pixi run app
123
118
{% if application_type == 'Nova Application' %}
124
119
If there are any problems with GUI dependencies (like PyQt/Trame) you might need to install/update system libraries.
125
120
{% endif %}
126
121
127
122
6. Deploy the tool XML to the Galaxy tools repository on the prototype branch:
128
-
$ poetry run deploy-prototype
123
+
$ pixi run deploy-prototype
129
124
130
125
This script will also ask for confirmation before committing and pushing to the Galaxy tools repo.
131
126
Ensure your Docker image is built and pushed first (see DEVELOPMENT.md or Dockerfile).
132
127
133
128
7. Start coding! Remember to document your work (see DEVELOPMENT.md). Continue to update the version in pyproject.toml and run deploy-prototype as needed.
134
129
135
130
8. When you're ready to make your tool available to users, deloy the tool XML to the Galaxy tools repository on the dev branch:
136
-
$ poetry run deploy-production
131
+
$ pixi run deploy-production
137
132
138
133
This script will first create a new branch with your XML, then create a merge request from that branch to the dev branch.
139
134
This will start the process of making your tool available to users on calvera. You should also review the MR and assign a reviewer.
@@ -147,7 +142,7 @@ _message_after_copy: |
147
142
# Add remote and push if needed
148
143
149
144
5. Test if the application runs:
150
-
$ poetry run app
145
+
$ pixi run app
151
146
152
147
6. Start coding! Remember to document your work (see DEVELOPMENT.md).
153
148
@@ -159,19 +154,19 @@ _message_after_copy: |
159
154
# Add remote and push if needed
160
155
161
156
{% if publish_to_pypi %}
162
-
5. Configure PyPI publishing details in `pyproject.toml` and follow Poetry's publishing guide.
157
+
5. Configure PyPI publishing details in `pyproject.toml` and follow [Hatch's](https://hatch.pypa.io/latest/) publishing guide.
163
158
{% endif %}
164
159
{% if publish_docs %}
165
-
6. Configure Readthedocs integration (see `.readthedocs.yml` and `docs/conf.py`). Build docs locally with `poetry run sphinx-build docs docs/_build/html`.
160
+
6. Configure Readthedocs integration (see `.readthedocs.yml` and `docs/conf.py`). Build docs locally with `pixi run sphinx-build docs docs/_build/html`.
166
161
{% endif %}
167
162
168
163
7. Start developing your library! Remember to write tests and documentation (see DEVELOPMENT.md).
169
164
170
165
{% elif application_type == 'Tutorial' %}
171
166
4. Follow the specific instructions provided in the generated tutorial documentation (e.g., TUTORIAL.md or README.md) for next steps.
172
167
This likely involves installing dependencies, running setup scripts, and testing the application.
173
-
$ poetry install
174
-
$ pre-commit install
168
+
$ pixi install
169
+
$ pixi run pre-commit install
175
170
# (Check tutorial docs for specific init-repo/deploy-tool usage if applicable)
0 commit comments