oe-python-template 0.6.34__py3-none-any.whl → 0.6.35__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {oe_python_template-0.6.34.dist-info → oe_python_template-0.6.35.dist-info}/METADATA +30 -14
- {oe_python_template-0.6.34.dist-info → oe_python_template-0.6.35.dist-info}/RECORD +5 -5
- {oe_python_template-0.6.34.dist-info → oe_python_template-0.6.35.dist-info}/WHEEL +0 -0
- {oe_python_template-0.6.34.dist-info → oe_python_template-0.6.35.dist-info}/entry_points.txt +0 -0
- {oe_python_template-0.6.34.dist-info → oe_python_template-0.6.35.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: oe-python-template
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.35
|
|
4
4
|
Summary: 🧠 Copier template to scaffold Python projects compliant with best practices and modern tooling.
|
|
5
5
|
Project-URL: Homepage, https://oe-python-template.readthedocs.io/en/latest/
|
|
6
6
|
Project-URL: Documentation, https://oe-python-template.readthedocs.io/en/latest/
|
|
@@ -157,22 +157,35 @@ Explore [here](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-templ
|
|
|
157
157
|
This template is designed to be used with the [copier](https://copier.readthedocs.io/en/stable/) project generator. It allows you to create a new project based on this template and customize it according to your needs.
|
|
158
158
|
To generate a new project, follow these steps:
|
|
159
159
|
|
|
160
|
-
**Step 1**: Install uv package manager
|
|
160
|
+
**Step 1**: Install homebrew, uv package manager amd further tools. Copy the following code into your terminal and execute it.
|
|
161
161
|
```shell
|
|
162
|
-
if [[ "$OSTYPE" == "darwin"* ]]; then
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
elif [[ "$OSTYPE" == "linux-gnu"* ]]; then # Install dependencies for Linux
|
|
167
|
-
sudo apt-get update -y && sudo apt-get install curl -y # Install curl
|
|
162
|
+
if [[ "$OSTYPE" == "darwin"* ]]; then # Install macOS specifics
|
|
163
|
+
# Nothing specific yet
|
|
164
|
+
elif [[ "$OSTYPE" == "linux-gnu"* ]]; then # Install Linux specifics
|
|
165
|
+
sudo apt-get update -y && sudo apt-get install curl -y # https://curl.se/
|
|
168
166
|
fi
|
|
169
|
-
if ! command -v
|
|
170
|
-
curl -
|
|
171
|
-
|
|
167
|
+
if ! command -v brew &> /dev/null; then # https://brew.sh/
|
|
168
|
+
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
|
169
|
+
brew update # Update Homebrew bundles
|
|
172
170
|
fi
|
|
173
|
-
uv
|
|
171
|
+
which uv &> /dev/null || brew install uv # https://docs.astral.sh/uv/
|
|
172
|
+
which git &> /dev/null || brew install git # https://git-scm.com/
|
|
173
|
+
which gpg &> /dev/null || brew install gnupg # https://gnupg.org/
|
|
174
|
+
which pinact &> /dev/null || brew install pinact # https://github.com/suzuki-shunsuke/pinact
|
|
175
|
+
which jq &> /dev/null || brew install jq # https://jqlang.org/
|
|
176
|
+
which libxml2 &> /dev/null || brew install libxml2 # https://en.wikipedia.org/wiki/Libxml2
|
|
177
|
+
which act &> /dev/null || brew install act # https://nektosact.com/
|
|
178
|
+
which pinact &> /dev/null || brew install pinact # https://github.com/suzuki-shunsuke/pinact
|
|
179
|
+
if [[ "$OSTYPE" == "darwin"* ]]; then # Install macOS specifics
|
|
180
|
+
# Nothing specific yet
|
|
181
|
+
elif [[ "$OSTYPE" == "linux-gnu"* ]]; then # Install Linux specifics
|
|
182
|
+
which pinentry-mac &> /dev/null || brew install gnupg # https://github.com/GPGTools/pinentry
|
|
183
|
+
fi
|
|
184
|
+
uv tool install copier # https://copier.readthedocs.io/en/stable/
|
|
174
185
|
```
|
|
175
186
|
|
|
187
|
+
Notes:
|
|
188
|
+
|
|
176
189
|
**Step 2**: [Create a repository on GitHub](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-new-repository), clone to your local machine, and change into it's directory.
|
|
177
190
|
|
|
178
191
|
**Step 3**: Generate the project. Copy
|
|
@@ -190,12 +203,15 @@ git push
|
|
|
190
203
|
|
|
191
204
|
Visit your GitHub repository and check the Actions tab. The CI workflow should already be running! The workflow will fail at the SonarQube step, as this external service is not yet configured for our new repository.
|
|
192
205
|
|
|
206
|
+
Notes:
|
|
207
|
+
1. Check out [this manual](https://docs.github.com/en/authentication/managing-commit-signature-verification/telling-git-about-your-signing-key) on how to set up signed commits
|
|
208
|
+
|
|
193
209
|
**Step 5**: Follow the [instructions](SERVICE_CONNECTIONS.md) to wire up
|
|
194
210
|
external services such as CloudCov, SonarQube Cloud, Read The Docs, Docker.io, and Streamlit Community Cloud.
|
|
195
211
|
|
|
196
|
-
**Step 6**: Release the first
|
|
212
|
+
**Step 6**: Release the first version of your project
|
|
197
213
|
```shell
|
|
198
|
-
|
|
214
|
+
make bump
|
|
199
215
|
```
|
|
200
216
|
Notes:
|
|
201
217
|
1. You can remove the above sections - from "Scaffolding" to this notes - post having successfully generated your project.
|
|
@@ -4,8 +4,8 @@ oe_python_template/cli.py,sha256=RwVJztulrFbdKRASqdjWLhCM7YNgBoxiP4tvlmekE30,349
|
|
|
4
4
|
oe_python_template/constants.py,sha256=Z1c06l5DeRuFxYVLHihHHTYvr8_Qh0nyzVKOe5X3ZNs,350
|
|
5
5
|
oe_python_template/models.py,sha256=L9uwom3TkuOpN3R30bGKEBQKcrLLEMc-O9e8VVSNTGw,838
|
|
6
6
|
oe_python_template/service.py,sha256=wHwaD_2oSMle41QKXC64T4uKznUnyuV9d4b9Cu7lIoY,1202
|
|
7
|
-
oe_python_template-0.6.
|
|
8
|
-
oe_python_template-0.6.
|
|
9
|
-
oe_python_template-0.6.
|
|
10
|
-
oe_python_template-0.6.
|
|
11
|
-
oe_python_template-0.6.
|
|
7
|
+
oe_python_template-0.6.35.dist-info/METADATA,sha256=igkpOujcjBSJInsfpRGsI3PL4mQ6L7rclSChDCPLhs4,28826
|
|
8
|
+
oe_python_template-0.6.35.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
9
|
+
oe_python_template-0.6.35.dist-info/entry_points.txt,sha256=IroSSWhLGxus9rxcashkYQda39TTvf7LbUMYtOKXUBE,66
|
|
10
|
+
oe_python_template-0.6.35.dist-info/licenses/LICENSE,sha256=5H409K6xzz9U5eUaoAHQExNkoWJRlU0LEj6wL2QJ34s,1113
|
|
11
|
+
oe_python_template-0.6.35.dist-info/RECORD,,
|
|
File without changes
|
{oe_python_template-0.6.34.dist-info → oe_python_template-0.6.35.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{oe_python_template-0.6.34.dist-info → oe_python_template-0.6.35.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|