-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcopier.yaml
More file actions
54 lines (38 loc) · 1.39 KB
/
copier.yaml
File metadata and controls
54 lines (38 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
package_name:
type: str
placeholder: YOUR-PROJECT-NAME
help: Name of the Python package.
project_slug:
type: str
default: "{{ package_name.lower().replace(' ', '_').replace('_','-') }}"
when: false
project_slug_underscore:
type: str
default: "{{ project_slug.replace('-','_') }}"
when: false
project_description:
type: str
help: Description of the project.
default: "A python project"
github_username:
type: str
help: GitHub username or organization name.
_subdirectory: python-template
_message_after_copy: |
Your project "{{ project_slug }}" has been created successfully!
1. Initialize the local directory as a Git repository, setup local environment, add files to version control and commit them:
git init --initial-branch=main
make install
git add .
git commit -m "feat: first commit"
2. Copy the URL of your GitHub repository and run:
git remote add origin https://github.com/{{ github_username }}/{{ project_slug }}.git
3. You can verify your new remote URL running:
git remote -v
4. Now you can push your local files to GitHub.
git push --set-upstream origin main
_message_after_update: |
Your project "{{ project_slug }}" has been updated successfully!
In case there are any conflicts, please resolve them. Then,
you're done.
_min_copier_version: "9.0.0"