File tree Expand file tree Collapse file tree 2 files changed +32
-1
lines changed Expand file tree Collapse file tree 2 files changed +32
-1
lines changed Original file line number Diff line number Diff line change @@ -26,11 +26,20 @@ $ conda install cookiecutter
26
26
### To start a new project, run:
27
27
------------
28
28
29
- cookiecutter https://github.com/drivendata/cookiecutter-data-science
29
+ cookiecutter -c v1 https://github.com/drivendata/cookiecutter-data-science
30
30
31
31
32
32
[ ![ asciicast] ( https://asciinema.org/a/244658.svg )] ( https://asciinema.org/a/244658 )
33
33
34
+ ### New version of Cookiecutter Data Science
35
+ ------------
36
+ Cookiecutter data science is moving to v2 soon, which will entail using
37
+ the command ` ccds ... ` rather than ` cookiecutter ... ` . The cookiecutter command
38
+ will continue to work, and this version of the template will still be available.
39
+ To use the legacy template, you will need to explicitly use ` -c v1 ` to select it.
40
+ Please update any scripts/automation you have to append the ` -c v1 ` option (as above),
41
+ which is available now.
42
+
34
43
35
44
### The resulting directory structure
36
45
------------
Original file line number Diff line number Diff line change
1
+ def deprecation_warning ():
2
+ print ("""
3
+
4
+ =============================================================================
5
+ *** DEPRECATION WARNING ***
6
+
7
+ Cookiecutter data science is moving to v2 soon, which will entail using
8
+ the command `ccds ...` rather than `cookiecutter ...`. The cookiecutter command
9
+ will continue to work, and this version of the template will still be available.
10
+ To use the legacy template, you will need to explicitly use `-c v1` to select it.
11
+
12
+ Please update any scripts/automation you have to append the `-c v1` option,
13
+ which is available now.
14
+
15
+ For example:
16
+ cookiecutter -c v1 https://github.com/drivendata/cookiecutter-data-science
17
+ =============================================================================
18
+
19
+ """ )
20
+
21
+
22
+ deprecation_warning ()
You can’t perform that action at this time.
0 commit comments