-
Notifications
You must be signed in to change notification settings - Fork 910
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move default template to static
pyproject.toml
, take 2 (#2853)
* Remove leftover reference to micropkg setup.py Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com> * Replace outdated extras requirement with kedro-datasets Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com> * Remove outdated mention to environment.yml Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com> * Move flake8 configuration to dedicated file Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com> * Replace setup.py with pyproject.toml in default project template Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com> * Adapt link to moving file in docs Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com> * Revert "Replace outdated extras requirement with kedro-datasets" This reverts commit dfa8a9e. Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com> * Add release notes for pyproject.toml change Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com> --------- Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com>
- Loading branch information
1 parent
e2bb4cd
commit e86508e
Showing
15 changed files
with
78 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
features/steps/test_starter/{{ cookiecutter.repo_name }}/.flake8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[flake8] | ||
max-line-length = 88 | ||
extend-ignore = E203 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
features/steps/test_starter/{{ cookiecutter.repo_name }}/setup.cfg
This file was deleted.
Oops, something went wrong.
31 changes: 31 additions & 0 deletions
31
features/steps/test_starter/{{ cookiecutter.repo_name }}/src/pyproject.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
[build-system] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "{{ cookiecutter.python_package }}" | ||
version = "0.1" | ||
dynamic = ["dependencies"] | ||
|
||
[tool.setuptools.packages.find] | ||
exclude = ["tests"] | ||
|
||
[project.scripts] | ||
{{ cookiecutter.repo_name }} = "{{ cookiecutter.python_package }}.__main__:main" | ||
|
||
[project.optional-dependencies] | ||
docs = [ | ||
"docutils<0.18.0", | ||
"sphinx~=3.4.3", | ||
"sphinx_rtd_theme==0.5.1", | ||
"nbsphinx==0.8.1", | ||
"nbstripout~=0.4", | ||
"sphinx-autodoc-typehints==1.11.1", | ||
"sphinx_copybutton==0.3.1", | ||
"ipykernel>=5.3, <7.0", | ||
"Jinja2<3.1.0", | ||
"myst-parser~=0.17.2", | ||
] | ||
|
||
[tool.setuptools.dynamic] | ||
dependencies = {file = "requirements.txt"} |
39 changes: 0 additions & 39 deletions
39
features/steps/test_starter/{{ cookiecutter.repo_name }}/src/setup.py
This file was deleted.
Oops, something went wrong.
File renamed without changes.
31 changes: 31 additions & 0 deletions
31
kedro/templates/project/{{ cookiecutter.repo_name }}/src/pyproject.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
[build-system] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "{{ cookiecutter.python_package }}" | ||
version = "0.1" | ||
dynamic = ["dependencies"] | ||
|
||
[tool.setuptools.packages.find] | ||
exclude = ["tests"] | ||
|
||
[project.scripts] | ||
{{ cookiecutter.repo_name }} = "{{ cookiecutter.python_package }}.__main__:main" | ||
|
||
[project.optional-dependencies] | ||
docs = [ | ||
"docutils<0.18.0", | ||
"sphinx~=3.4.3", | ||
"sphinx_rtd_theme==0.5.1", | ||
"nbsphinx==0.8.1", | ||
"nbstripout~=0.4", | ||
"sphinx-autodoc-typehints==1.11.1", | ||
"sphinx_copybutton==0.3.1", | ||
"ipykernel>=5.3, <7.0", | ||
"Jinja2<3.1.0", | ||
"myst-parser~=0.17.2", | ||
] | ||
|
||
[tool.setuptools.dynamic] | ||
dependencies = {file = "requirements.txt"} |
39 changes: 0 additions & 39 deletions
39
kedro/templates/project/{{ cookiecutter.repo_name }}/src/setup.py
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters