@@ -34,8 +34,7 @@ the following items:
3434 developer documentation.
3535- An empty ``CHANGELOG.rst `` file. This file gets included in the user
3636 documentation.
37- - A ``LICENSE `` file (or ``COPYING `` for GNU licenses) that defaults
38- to the Apache License version 2.0.
37+ - An option ``LICENSE `` file (or ``COPYING `` for GNU licenses).
3938- An ``examples `` directory with a minimal quickstart example script. This
4039 script imports the package and prints the package version. It is also
4140 called by the unit test suite to ensure it always works.
@@ -77,9 +76,9 @@ cookiecutter using ``pip``. The example below shows how to do this.
7776
7877.. code-block :: console
7978
80- $ python -m venv ccvenv --prompt cc
79+ $ python -m venv --prompt cc ccvenv
8180 $ source ccvenv/bin/activate
82- (cc) $ pip install pip -U # update pip to avoid any warnings
81+ (cc) $ pip install -U pip # update pip to avoid any warnings
8382 (cc) $ pip install cookiecutter
8483
8584 You are now ready to create a new Python project from the Cookiecutter
@@ -132,11 +131,12 @@ using the new project.
132131 ReadTheDocs then remove any links to those sites. Affected files are:
133132
134133 - README.rst
135- - setup.py
136134 - docs/source/index.rst
135+ - pyproject.toml
137136
138- - Update any additional useful classifiers in ``setup.py ``. The list of
139- available classifiers can be found `here <https://pypi.python.org/pypi?:action=list_classifiers >`_.
137+ - Update any additional useful classifiers in ``pyproject.toml ``. The
138+ list of available classifiers can be found `here
139+ <https://pypi.python.org/pypi?:action=list_classifiers> `_.
140140
141141
142142Example
@@ -162,24 +162,26 @@ Python package name.
162162.. code-block :: console
163163
164164 (cc) $ cookiecutter ../cookiecutter-python-project/
165- package_display_name [Package-Name]: abc 123
166- package_name [abc_123]:
167- package_short_description [A description of the package]: This is my abc 123 package.
168- version [0.0.1]:
169- full_name [Your Name]: First Last
170- email []:
171- github_user_name [GithubUserName]: flast
172- github_repo_name [abc_123]:
173- Select license:
174- 1 - Apache License, Version 2.0
175- 2 - Expat License
176- 3 - GNU GPL version 2
177- 4 - GNU GPL version 3
178- 5 - GNU AGPL version 3
179- 6 - Modified BSD license (3-clause)
180- 7 - Not licensed for distribution (no license)
181- Choose from 1, 2, 3, 4, 5, 6, 7 [1]:
182- year [2023]:
165+ [1/10] package_display_name (Package-Name): abc 123
166+ [2/10] package_name (abc_123):
167+ [3/10] package_short_description (A description of the package): This is my abc 123 package.
168+ [4/10] version (0.0.1):
169+ [5/10] full_name (Your Name): First Last
170+ [6/10] email ():
171+ [7/10] github_user_name (GithubUserName): flast
172+ [8/10] github_repo_name (abc_123):
173+ [9/10] Select license
174+ 1 - Not licensed for distribution (no license)
175+ 2 - AGPL-3.0-only
176+ 3 - AGPL-3.0-or-later
177+ 4 - Apache-2.0
178+ 5 - BSD-3-Clause
179+ 6 - GPL-2.0-only
180+ 7 - GPL-2.0-or-later
181+ 8 - GPL-3.0-only
182+ 9 - GPL-3.0-or-later
183+ Choose from [1/2/3/4/5/6/7/8/9] (1):
184+ [10/10] year (2024):
183185
184186 The project has been created in the ``abc_123 `` directory.
185187
0 commit comments